16 lines
767 B
YAML
16 lines
767 B
YAML
---
|
|
- name: Debug bigboot_execute_shrink_lv
|
|
ansible.builtin.debug:
|
|
msg: "bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] -> {{ bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] }}"
|
|
|
|
- name: Debug bigboot_execute_bigboot
|
|
ansible.builtin.debug:
|
|
msg: "bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] -> {{ bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] }}"
|
|
|
|
- name: Perform a ReaR backup if any disk modifications are to be made
|
|
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
|
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
|