aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/file_wait/tasks
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-11 19:40:46 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-11 19:42:52 +0200
commit2640e0c08751d5784908f2bcdc6e4f1426ccbcae (patch)
treea1c055aba6790f575f70de345f45905b221b7999 /roles/file_wait/tasks
parentv0.0.9 (diff)
downloadinfra-ansible-2640e0c08751d5784908f2bcdc6e4f1426ccbcae.tar.gz
infra-ansible-2640e0c08751d5784908f2bcdc6e4f1426ccbcae.zip
fix some ansible-lint warnings
Diffstat (limited to 'roles/file_wait/tasks')
-rw-r--r--roles/file_wait/tasks/check.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/file_wait/tasks/check.yml b/roles/file_wait/tasks/check.yml
index 1a7c138..aba500b 100644
--- a/roles/file_wait/tasks/check.yml
+++ b/roles/file_wait/tasks/check.yml
@@ -14,6 +14,7 @@
ignore_errors: true
- name: If the host restarted, try again
+ when: file_wait_check is unreachable
block:
- name: Note a reboot happened
ansible.builtin.set_fact:
@@ -22,4 +23,3 @@
- name: Retry if there're more attempts
ansible.builtin.include_tasks: check.yml
when: (file_wait_reboots | int > 0)
- when: file_wait_check is unreachable