fixes for multiple hosts

This commit is contained in:
2024-07-23 15:20:10 -04:00
parent 164307eab7
commit 4ee78bead1
4 changed files with 11 additions and 7 deletions

View File

@ -35,6 +35,9 @@
- name: Set environment for subsequent workflow nodes
ansible.builtin.set_stats:
aggregate: false
per_host: false
data:
bigboot_data: "{{ bigboot_data | default({}) |
combine({inventory_hostname:
@ -46,12 +49,12 @@
'bigboot_size': bigboot_size
}
}) }}"
rear_backup_skip: "{{ bigboot_rear_backup_skip | default(false) }}"
- 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 or bigboot_execute_bigboot | bool
- bigboot_execute_shrink_lv | default(false) | bool
or bigboot_execute_bigboot | default(false) | bool
- not bigboot_rear_backup_skip | default(false) | bool
...