Path / task name updates
This commit is contained in:
parent
5ff567800b
commit
d7e8ebaf33
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user