diff --git a/metal/roles/pxe-boot/handlers/main.yml b/metal/roles/pxe-boot/handlers/main.yml index 3f7fddfc..5aefdd77 100644 --- a/metal/roles/pxe-boot/handlers/main.yml +++ b/metal/roles/pxe-boot/handlers/main.yml @@ -1,4 +1,4 @@ -- name: Stop PXE server +- name: Stop ephemeral PXE server docker_compose: project_src: "{{ role_path }}/build" state: absent diff --git a/metal/roles/pxe-boot/tasks/server.yml b/metal/roles/pxe-boot/tasks/server.yml index be6cd419..6813d0a7 100644 --- a/metal/roles/pxe-boot/tasks/server.yml +++ b/metal/roles/pxe-boot/tasks/server.yml @@ -58,7 +58,7 @@ dest: "{{ role_path }}/build/http/kickstart/network/{{ hostvars[item]['mac'] }}.ks" loop: "{{ groups['metal'] }}" -- name: Start PXE server +- name: Start ephemeral PXE server docker_compose: project_src: "{{ role_path }}/build" state: present