Update backup path to include hostname

This commit is contained in:
Chris Hammer 2025-02-26 16:25:55 -05:00
parent 8417a28302
commit 7c78438d2d

View File

@ -10,12 +10,12 @@
ansible.builtin.set_fact:
job_template_name: "{{ nfs_exports_template_name }}"
- name: Perform ReaR backup
- name: Perform ReaR backup # noqa var-naming
ansible.builtin.include_role:
name: rhc.rear.rear_backup
vars:
rear_nfs_export_share: /backups/bigboot # noqa var-naming
rear_nfs_export_fsid: 10 # noqa var-naming
rear_nfs_export_share: /backups/{{ ansible_hostname }}/bigboot
rear_nfs_export_fsid: 10
when:
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
- not rear_backup_skip | default(false) | bool