more logic fixes
This commit is contained in:
parent
47b9224223
commit
d958c3501f
@ -2,4 +2,6 @@
|
|||||||
- name: Perform a ReaR backup if any disk modifications are to be made
|
- name: Perform a ReaR backup if any disk modifications are to be made
|
||||||
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
||||||
when:
|
when:
|
||||||
|
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool
|
||||||
|
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool)
|
||||||
- not bigboot_rear_backup_skip | default(false) | bool
|
- not bigboot_rear_backup_skip | default(false) | bool
|
||||||
|
@ -29,6 +29,10 @@
|
|||||||
- name: Capture logical volume information
|
- name: Capture logical volume information
|
||||||
ansible.builtin.import_tasks: tasks/capture_lv_device_details.yml
|
ansible.builtin.import_tasks: tasks/capture_lv_device_details.yml
|
||||||
|
|
||||||
|
- name: Set ReaR backup flag
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
bigboot_rear_backup_skip:
|
||||||
|
|
||||||
- name: Set environment for subsequent workflow nodes
|
- name: Set environment for subsequent workflow nodes
|
||||||
ansible.builtin.set_stats:
|
ansible.builtin.set_stats:
|
||||||
data:
|
data:
|
||||||
@ -42,10 +46,13 @@
|
|||||||
'bigboot_size': bigboot_size
|
'bigboot_size': bigboot_size
|
||||||
}
|
}
|
||||||
}) }}"
|
}) }}"
|
||||||
|
rear_backup_skip: bigboot_rear_backup_skip | default(false)
|
||||||
|
|
||||||
- name: Execute ReaR backup
|
- name: Execute ReaR backup
|
||||||
ansible.builtin.include_tasks: bigboot_rear_backup.yml
|
ansible.builtin.include_tasks: bigboot_rear_backup.yml
|
||||||
when:
|
when:
|
||||||
|
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool
|
||||||
|
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool)
|
||||||
- not bigboot_rear_backup_skip | default(false) | bool
|
- not bigboot_rear_backup_skip | default(false) | bool
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user