From d7e8ebaf33c67a83b8b8218b0302b8aa32203c56 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Mon, 3 Mar 2025 17:10:33 -0500 Subject: [PATCH] Path / task name updates --- galaxy.yml | 2 +- playbooks/rear_backup.yml | 7 +++---- roles/rear_backup/tasks/main.yml | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index 5fe605c..f6922ad 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -8,7 +8,7 @@ namespace: rhc name: rear # The version of the collection. Must be compatible with semantic versioning -version: 1.0.0 +version: 1.0.1 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/playbooks/rear_backup.yml b/playbooks/rear_backup.yml index 6e5ec48..29f7f37 100644 --- a/playbooks/rear_backup.yml +++ b/playbooks/rear_backup.yml @@ -11,18 +11,17 @@ tasks: - - name: Check for backup success file + - name: Check for previous backup completion ansible.builtin.stat: path: "{{ standalone_backup_success_file }}" register: standalone_backup_success - - name: End if backup for Bigboot already exists + - name: End if backup has already completed successfully ansible.builtin.meta: end_host when: - standalone_backup_success['stat']['exists'] | bool - not rear_force_backup | default(false) | bool - - name: Perform ReaR Backup and write success log when: - ansible_distribution_major_version >= '7' @@ -30,7 +29,7 @@ block: - name: Include the backup role ansible.builtin.include_role: - name: ../roles/rear_backup + name: rhc.rear.rear_backup - name: Confirm ReaR backup log is present ansible.builtin.stat: diff --git a/roles/rear_backup/tasks/main.yml b/roles/rear_backup/tasks/main.yml index b7039a8..21da2b7 100644 --- a/roles/rear_backup/tasks/main.yml +++ b/roles/rear_backup/tasks/main.yml @@ -52,7 +52,7 @@ - name: Configure ReaR local.conf file ansible.builtin.include_role: - name: ../roles/rear_local_cfg + name: rhc.rear.rear_local_cfg - name: ReaR Backup block: