khuedoan-homelab/metal/roles/pxe-server/tasks/main.yml
Khue Doan a44ea21ab3 Revert "New pxe server structure"
This reverts commit 8d1a92a7d25083f0465bab02c55e52e543039a3a.
2021-02-12 14:27:18 +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"