aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/file_wait/tasks/main.yml
blob: 9afef578d6384f1892edbaaf6f8dda329facb09b (plain) (blame)
1
2
3
4
5
6
7
- name: Check if file exists
  ansible.builtin.include_tasks: check.yml

- name: Fail unless file exists
  ansible.builtin.fail:
    msg: 'File is missing: {{ file_wait_path }}'
  when: file_wait_check is not defined or file_wait_check is not succeeded or file_wait_check is unreachable