Updates to Bigboot ReaR based on updates to ReaR
This commit is contained in:
parent
212a686c90
commit
5925357d90
@ -13,26 +13,30 @@
|
|||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: rhc.rear.rear_vars
|
name: rhc.rear.rear_vars
|
||||||
|
|
||||||
- name: Fetch the template name from NFS exports
|
- name: Debug rear_vars_nfs_share
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.debug:
|
||||||
job_template_name: "{{ nfs_exports_template_name }}"
|
var: rear_vars_nfs_share
|
||||||
|
|
||||||
- name: Check for previous backup completion
|
# - name: Fetch the template name from NFS exports
|
||||||
ansible.builtin.stat:
|
# ansible.builtin.set_fact:
|
||||||
path: "{{ rear_backup_success_file_path }}/{{ rear_backup_workflow }}_rear_success"
|
# job_template_name: "{{ nfs_exports_template_name }}"
|
||||||
register: rear_backup_success_file
|
|
||||||
|
|
||||||
- name: End if backup has already completed successfully
|
# - name: Check for previous backup completion
|
||||||
ansible.builtin.meta: end_host
|
# ansible.builtin.stat:
|
||||||
when:
|
# path: "{{ rear_backup_success_file_path }}/{{ rear_backup_workflow }}_rear_success"
|
||||||
- rear_backup_success_file['stat']['exists'] | bool
|
# register: rear_backup_success_file
|
||||||
- not rear_force_backup | default(false) | bool
|
|
||||||
|
|
||||||
- name: Perform ReaR Backup
|
# - name: End if backup has already completed successfully
|
||||||
when:
|
# ansible.builtin.meta: end_host
|
||||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
|
# when:
|
||||||
- not rear_backup_skip | default(false) | bool
|
# - rear_backup_success_file['stat']['exists'] | bool
|
||||||
block:
|
# - not rear_force_backup | default(false) | bool
|
||||||
- name: Perform ReaR backup
|
|
||||||
ansible.builtin.include_role:
|
# - name: Perform ReaR Backup
|
||||||
name: rhc.rear.rear_backup
|
# when:
|
||||||
|
# - 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