khuedoan-homelab/metal/roles/pxe-server/tasks/main.yml
2021-02-08 14:13:40 +07:00

14 lines
345 B
YAML

# - name: Start PXE server
# community.general.docker_compose:
# project_src: "{{ role_path }}/files/pxe-servers"
- name: Download ISO
get_url:
url: "{{ iso_url }}"
dest: "{{ role_path }}/files/images/"
- name: Render environment file
template:
src: "{{ role_path }}/files/.env.j2"
dest: "{{ role_path }}/files/.env"