From 7c78438d2d17e8c78724c63e24b488c11c5fc5b4 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Wed, 26 Feb 2025 16:25:55 -0500 Subject: [PATCH] Update backup path to include hostname --- bigboot_rear_backup.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bigboot_rear_backup.yml b/bigboot_rear_backup.yml index ec72028..60c692c 100644 --- a/bigboot_rear_backup.yml +++ b/bigboot_rear_backup.yml @@ -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