add task to check workaround for set_stats

This commit is contained in:
Chris Hammer 2024-07-26 11:31:54 -04:00
parent 6a0b9ff2ba
commit 2b31c70a8c

View File

@ -5,3 +5,15 @@
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | default(false) | bool - (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | default(false) | bool
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool) or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool)
- not bigboot_rear_backup_skip | default(false) | bool - not bigboot_rear_backup_skip | default(false) | bool
- name: ReaR backup per host
ansible.builtin.import_role:
name: rhc.rear.rear_backup
vars:
client_ips: "{{ item['value']['bigboot_size'] }}"
namehost: "{{ item['key'] }}"
loop: "{{ bigboot_data | dict2items }}"
loop_control:
label: "{{ item['key'] }}"
when:
- item['value']['bigboot_execute_bigboot'] | bool