Skip to content
Snippets Groups Projects
Commit 88f3b268 authored by Chris Hines's avatar Chris Hines
Browse files

change local_action to wait_for_connection

Former-commit-id: 8486c3c0
parent 9ea2878a
No related branches found
No related tags found
No related merge requests found
...@@ -58,11 +58,11 @@ ...@@ -58,11 +58,11 @@
async: 2 async: 2
poll: 1 poll: 1
ignore_errors: true ignore_errors: true
sudo: true become: true
become_user: root
when: reboot_now when: reboot_now
- name: waiting for server to come back - name: waiting for server to come back
local_action: wait_for host={{ ansible_host }} state=started port=22 delay=30 timeout=600 search_regex=OpenSSH wait_for_connection: sleep=60 timeout=600 delay=60
sudo: false
when: reboot_now when: reboot_now
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment