khuedoan-homelab/metal/roles/pxe-server/tasks/main.yml

14 lines
345 B
YAML
Raw Normal View History

# - name: Start PXE server
# community.general.docker_compose:
# project_src: "{{ role_path }}/files/pxe-servers"
2021-02-08 14:13:40 +07:00
- name: Download ISO
get_url:
url: "{{ iso_url }}"
dest: "{{ role_path }}/files/images/"
2021-02-08 10:09:02 +07:00
- name: Render environment file
template:
2021-02-08 10:09:02 +07:00
src: "{{ role_path }}/files/.env.j2"
dest: "{{ role_path }}/files/.env"