Add option to force ReaR backup: draft
This commit is contained in:
parent
5f13492ee4
commit
15a7a3531f
@ -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
|
- name: Perform a ReaR backup before the /boot expansion
|
||||||
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
||||||
when:
|
when:
|
||||||
|
@ -12,20 +12,12 @@
|
|||||||
- name: Cleanup from any previous executions
|
- name: Cleanup from any previous executions
|
||||||
ansible.builtin.import_tasks: tasks/cleanup.yml
|
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
|
- name: Set boot device details
|
||||||
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
||||||
|
|
||||||
- name: Set logical volume information
|
- name: Set logical volume information
|
||||||
ansible.builtin.import_tasks: tasks/capture_lv_device_details.yml
|
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
|
- name: Set environment for subsequent workflow nodes
|
||||||
ansible.builtin.set_stats:
|
ansible.builtin.set_stats:
|
||||||
aggregate: true
|
aggregate: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user