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

- name: Fail unless the 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