breakout into separate playbooks for workflow testing

This commit is contained in:
2024-04-26 14:47:38 -04:00
parent 6d19ec0fa6
commit 11db88db4c
3 changed files with 49 additions and 24 deletions

15
bigboot_rear_backup.yml Normal file
View File

@ -0,0 +1,15 @@
---
- name: Perform ReaR backup before the /boot expansion
hosts: all
become: true
gather_facts: true
strategy: free
tasks:
- name: Perform a ReaR backup if any disk modifications are to be made
ansible.builtin.import_playbook: rhc.rear.rear_backup
when:
- bigboot_execute_bigboot | bool
- not bigboot_skip_rear_backup | bool
...