Add option to force ReaR backup: draft

This commit is contained in:
Chris Hammer 2025-01-22 16:58:04 -05:00
parent 5f13492ee4
commit 15a7a3531f
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,12 @@
---
- name: "Debug survey var: rear_force_backup"
ansible.builtin.debug:
var: rear_force_backup
- name: Failure
ansible.builtin.fail:
msg: "Failed as requested from task."
- name: Perform a ReaR backup before the /boot expansion
ansible.builtin.import_playbook: rhc.rear.rear_backup
when:

View File

@ -12,20 +12,12 @@
- name: Cleanup from any previous executions
ansible.builtin.import_tasks: tasks/cleanup.yml
# - name: Check for services that require being disabled
# ansible.builtin.import_tasks: tasks/check_services.yml
- name: Set boot device details
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
- name: Set logical volume information
ansible.builtin.import_tasks: tasks/capture_lv_device_details.yml
# - name: Run pre-checks to verify environment
# ansible.builtin.import_tasks: tasks/pre-checks.yml
# when:
# - bigboot_execute_bigboot | bool
- name: Set environment for subsequent workflow nodes
ansible.builtin.set_stats:
aggregate: true