Logic fixes
This commit is contained in:
parent
b2d6c4467e
commit
a0054be5e6
@ -18,11 +18,16 @@
|
||||
path: "{{ bigboot_backup_success_file }}"
|
||||
register: bigboot_backup_success
|
||||
|
||||
- name: End if backup for Bigboot already exists
|
||||
ansible.builtin.meta: end_host
|
||||
when:
|
||||
- bigboot_backup_success['stat']['exists'] | bool
|
||||
- not rear_backup_skip | default(false) | bool
|
||||
|
||||
- name: Perform ReaR Backup and write success log
|
||||
when:
|
||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
|
||||
- not rear_backup_skip | default(false) | bool
|
||||
- not bigboot_backup_success['stat']['exists'] | bool
|
||||
block:
|
||||
- name: Perform ReaR backup # noqa var-naming
|
||||
ansible.builtin.include_role:
|
||||
|
Loading…
x
Reference in New Issue
Block a user