Bleh
This commit is contained in:
parent
0cc014824c
commit
91a2423e2e
@ -13,30 +13,26 @@
|
|||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: rhc.rear.rear_vars
|
name: rhc.rear.rear_vars
|
||||||
|
|
||||||
- name: Debug rear_vars_nfs_share
|
- name: Fetch the template name from NFS exports
|
||||||
ansible.builtin.debug:
|
ansible.builtin.set_fact:
|
||||||
var: rear_vars_nfs_share
|
job_template_name: "{{ nfs_exports_template_name }}"
|
||||||
|
|
||||||
# - name: Fetch the template name from NFS exports
|
- name: Check for previous backup completion
|
||||||
# ansible.builtin.set_fact:
|
ansible.builtin.stat:
|
||||||
# job_template_name: "{{ nfs_exports_template_name }}"
|
path: "{{ rear_backup_success_file_path }}/{{ rear_backup_workflow }}_rear_success"
|
||||||
|
register: rear_backup_success_file
|
||||||
|
|
||||||
# - name: Check for previous backup completion
|
- name: End if backup has already completed successfully
|
||||||
# ansible.builtin.stat:
|
ansible.builtin.meta: end_host
|
||||||
# path: "{{ rear_backup_success_file_path }}/{{ rear_backup_workflow }}_rear_success"
|
when:
|
||||||
# register: rear_backup_success_file
|
- rear_backup_success_file['stat']['exists'] | bool
|
||||||
|
- not rear_force_backup | default(false) | bool
|
||||||
|
|
||||||
# - name: End if backup has already completed successfully
|
- name: Perform ReaR Backup
|
||||||
# ansible.builtin.meta: end_host
|
when:
|
||||||
# when:
|
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
|
||||||
# - rear_backup_success_file['stat']['exists'] | bool
|
- not rear_backup_skip | default(false) | bool
|
||||||
# - not rear_force_backup | default(false) | bool
|
block:
|
||||||
|
- name: Perform ReaR backup
|
||||||
# - name: Perform ReaR Backup
|
ansible.builtin.include_role:
|
||||||
# when:
|
name: rhc.rear.rear_backup
|
||||||
# - bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
|
|
||||||
# - not rear_backup_skip | default(false) | bool
|
|
||||||
# block:
|
|
||||||
# - name: Perform ReaR backup
|
|
||||||
# ansible.builtin.include_role:
|
|
||||||
# name: rhc.rear.rear_backup
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user