Updates for bigboot_rear_backup.yml; Add bigboot_rear_clean.yml

This commit is contained in:
2025-02-27 19:53:26 -05:00
parent 2bce76e413
commit 4c75f10ec3
2 changed files with 37 additions and 6 deletions

6
bigboot_rear_clean.yml Normal file
View File

@ -0,0 +1,6 @@
---
- name: Cleanup ReaR artifacts on successful Bigboot
ansible.builtin.import_playbook: rhc.rear.rear_remove
when:
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
- not rear_backup_skip | default(false) | bool