diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-14 12:02:16 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-14 12:08:04 +0200 |
commit | 84066b29e322591ade980cb72e55c88b98d144c4 (patch) | |
tree | bb3c7e482f46156385c967c39d495f6a3867ef54 /roles/file_wait/tasks/main.yml | |
parent | letsencrypt: fix manual token prompts (diff) | |
download | infra-ansible-84066b29e322591ade980cb72e55c88b98d144c4.tar.gz infra-ansible-84066b29e322591ade980cb72e55c88b98d144c4.zip |
update task names & add more logging
Diffstat (limited to '')
-rw-r--r-- | roles/file_wait/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/file_wait/tasks/main.yml b/roles/file_wait/tasks/main.yml index 76dce68..9afef57 100644 --- a/roles/file_wait/tasks/main.yml +++ b/roles/file_wait/tasks/main.yml @@ -1,7 +1,7 @@ -- name: Checking if the file exists +- name: Check if file exists ansible.builtin.include_tasks: check.yml -- name: Fail unless the file exists +- 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 |