updated rescue block
diff --git a/tasks/main.yml b/tasks/main.yml index 2364617..a4d3723 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -28,9 +28,6 @@ poll: 0 rescue: + - name: Waiting for node to return - local_action: - wait_for: - state: started - host: '{{ inventory_host }}' - port: 22 + local_action: wait_for state=started host='{{ inventory_host }}' port=22