Some checks failed
Ansible Lint Pipeline / Ansible-Development-Pipeline (ansible-dev-centos) (push) Failing after 44s
12 lines
413 B
YAML
12 lines
413 B
YAML
---
|
|
- name: Check for previous backup completion
|
|
ansible.builtin.stat:
|
|
path: "{{ rear_vars_success_file_path }}/{{ rear_vars_backup_workflow }}_rear_success"
|
|
register: rear_backup_success_file
|
|
|
|
- name: End host 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
|