Tweaks
This commit is contained in:
@ -40,10 +40,6 @@
|
||||
- name: Write backup success file
|
||||
ansible.builtin.include_tasks:
|
||||
file: create_success_file.yml
|
||||
|
||||
- name: ReaR backup success
|
||||
ansible.builtin.debug:
|
||||
msg: "ReaR backup has completed successfully."
|
||||
rescue:
|
||||
- name: ReaR backup failed
|
||||
ansible.builtin.fail:
|
||||
@ -63,3 +59,7 @@
|
||||
mode: "0600"
|
||||
when:
|
||||
- rear_config_stat['stat']['exists'] | bool
|
||||
|
||||
- name: ReaR backup success
|
||||
ansible.builtin.debug:
|
||||
msg: "ReaR backup has completed successfully."
|
||||
|
Reference in New Issue
Block a user