mirror of
https://github.com/BluemediaGER/homelab.git
synced 2024-11-23 03:15:29 +01:00
8 lines
284 B
YAML
8 lines
284 B
YAML
- name: Tear down PXE stack
|
|
ansible.builtin.command: "docker compose --project-name pxe down"
|
|
|
|
- name: Remove preseed files
|
|
file:
|
|
path: "{{ playbook_dir }}/roles/pxe-server/files/data/preseed/{{ hostvars[item]['mac'] }}.cfg"
|
|
state: "absent"
|
|
loop: "{{ groups['metal'] }}" |