mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:24:36 +07:00
Download Ubuntu ISO
This commit is contained in:
parent
fffa1dbaf5
commit
6eee51f65b
@ -1,3 +1,5 @@
|
|||||||
|
iso_url: "https://releases.ubuntu.com/20.04.2/ubuntu-20.04.2-live-server-amd64.iso"
|
||||||
|
|
||||||
subnet: "192.168.1.0"
|
subnet: "192.168.1.0"
|
||||||
netmask: "255.255.255.0"
|
netmask: "255.255.255.0"
|
||||||
gateway: "192.168.1.1"
|
gateway: "192.168.1.1"
|
||||||
|
@ -2,6 +2,11 @@
|
|||||||
# community.general.docker_compose:
|
# community.general.docker_compose:
|
||||||
# project_src: "{{ role_path }}/files/pxe-servers"
|
# project_src: "{{ role_path }}/files/pxe-servers"
|
||||||
|
|
||||||
|
- name: Download ISO
|
||||||
|
get_url:
|
||||||
|
url: "{{ iso_url }}"
|
||||||
|
dest: "{{ role_path }}/files/images/"
|
||||||
|
|
||||||
- name: Render environment file
|
- name: Render environment file
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/files/.env.j2"
|
src: "{{ role_path }}/files/.env.j2"
|
||||||
|
Loading…
Reference in New Issue
Block a user