Path / task name updates

This commit is contained in:
Chris Hammer 2025-03-03 17:10:33 -05:00
parent 5ff567800b
commit d7e8ebaf33
3 changed files with 5 additions and 6 deletions

View File

@ -8,7 +8,7 @@ namespace: rhc
name: rear name: rear
# The version of the collection. Must be compatible with semantic versioning # 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 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md readme: README.md

View File

@ -11,18 +11,17 @@
tasks: tasks:
- name: Check for backup success file - name: Check for previous backup completion
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ standalone_backup_success_file }}" path: "{{ standalone_backup_success_file }}"
register: standalone_backup_success 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 ansible.builtin.meta: end_host
when: when:
- standalone_backup_success['stat']['exists'] | bool - standalone_backup_success['stat']['exists'] | bool
- not rear_force_backup | default(false) | bool - not rear_force_backup | default(false) | bool
- name: Perform ReaR Backup and write success log - name: Perform ReaR Backup and write success log
when: when:
- ansible_distribution_major_version >= '7' - ansible_distribution_major_version >= '7'
@ -30,7 +29,7 @@
block: block:
- name: Include the backup role - name: Include the backup role
ansible.builtin.include_role: ansible.builtin.include_role:
name: ../roles/rear_backup name: rhc.rear.rear_backup
- name: Confirm ReaR backup log is present - name: Confirm ReaR backup log is present
ansible.builtin.stat: ansible.builtin.stat:

View File

@ -52,7 +52,7 @@
- name: Configure ReaR local.conf file - name: Configure ReaR local.conf file
ansible.builtin.include_role: ansible.builtin.include_role:
name: ../roles/rear_local_cfg name: rhc.rear.rear_local_cfg
- name: ReaR Backup - name: ReaR Backup
block: block: