aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/file_wait/tasks
diff options
context:
space:
mode:
Diffstat (limited to '')
-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