logic fixes

This commit is contained in:
Chris Hammer 2024-07-19 23:53:58 -04:00
parent e1c5d48796
commit 47b9224223
2 changed files with 7 additions and 3 deletions

View File

@ -2,6 +2,4 @@
- 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 - not bigboot_rear_backup_skip | default(false) | bool
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool)
- not bigboot_skip_rear | default('true') | bool

View File

@ -43,4 +43,10 @@
} }
}) }}" }) }}"
- name: Execute ReaR backup
ansible.builtin.include_tasks: bigboot_rear_backup.yml
when:
- not bigboot_rear_backup_skip | default(false) | bool
... ...