Updates for the workflow
This commit is contained in:
@ -1,6 +1,18 @@
|
||||
---
|
||||
- name: Perform a ReaR backup before the /boot expansion
|
||||
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
||||
when:
|
||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
|
||||
- not rear_backup_skip | default(false) | bool
|
||||
- name: ReaR Backup Playbook
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: true
|
||||
strategy: free
|
||||
|
||||
tasks:
|
||||
- name: Fetch the template name from NFS exports
|
||||
ansible.builtin.set_fact:
|
||||
job_template_name: "{{ nfs_exports_template_name }}"
|
||||
|
||||
- name: Perform ReaR backup
|
||||
ansible.builtin.include_role:
|
||||
name: rhc.rear.rear_backup
|
||||
when:
|
||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
|
||||
- not rear_backup_skip | default(false) | bool
|
||||
|
Reference in New Issue
Block a user