This commit is contained in:
2025-03-05 22:47:50 -05:00
parent 0360927617
commit 26638d9728
7 changed files with 32 additions and 15 deletions

View File

@ -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."