Updates for the workflow

This commit is contained in:
Chris Hammer 2025-02-22 17:15:02 -05:00
parent 52854491f2
commit 3cc182de09
2 changed files with 20 additions and 8 deletions

View File

@ -1,6 +1,18 @@
--- ---
- name: Perform a ReaR backup before the /boot expansion - name: ReaR Backup Playbook
ansible.builtin.import_playbook: rhc.rear.rear_backup hosts: all
when: become: true
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool gather_facts: true
- not rear_backup_skip | default(false) | bool 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

View File

@ -4,6 +4,6 @@
client_ips: "{{ item['value']['ip_addresses'] | list | flatten }}" client_ips: "{{ item['value']['ip_addresses'] | list | flatten }}"
namehost: "{{ item['value']['server_hostname'] }}" namehost: "{{ item['value']['server_hostname'] }}"
# - name: Include NFS export role - name: Include NFS export role
# ansible.builtin.include_role: ansible.builtin.include_role:
# name: rhc.rear.say_hi name: rhc.rear.nfs_export