From 2640e0c08751d5784908f2bcdc6e4f1426ccbcae Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 11 Aug 2023 19:40:46 +0200 Subject: fix some ansible-lint warnings --- roles/file_wait/tasks/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/file_wait/tasks') 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 -- cgit v1.2.3