From 0157d250932d1c2c775b5d56c67aff67343c628f Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sun, 13 Jun 2021 11:49:09 +0700 Subject: [PATCH] Change PXE server task and handler name --- metal/roles/pxe-boot/handlers/main.yml | 2 +- metal/roles/pxe-boot/tasks/server.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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