12 lines
405 B
YAML
12 lines
405 B
YAML
---
|
|
- name: Check for previous backup completion
|
|
ansible.builtin.stat:
|
|
path: "{{ rear_backup_success_file_path }}/{{ rear_backup_workflow }}_rear_success"
|
|
register: rear_backup_success_file
|
|
|
|
- name: End if backup has already completed successfully
|
|
ansible.builtin.meta: end_host
|
|
when:
|
|
- rear_backup_success_file['stat']['exists'] | bool
|
|
- not rear_force_backup | default(false) | bool
|