bifrost/playbooks/cleanup-deployment-images.yaml

11 lines
357 B
YAML

---
- hosts: localhost
connection: local
name: "Remove the master_images folder and deployment kernel/ramdisk for clean redeployments when testing."
become: yes
gather_facts: yes
tasks:
- file: path="{{ ironic_tftp_master_path }}" state=absent
- file: path="{{ ipa_kernel }}" state=absent
- file: path="{{ ipa_ramdisk }}" state=absent