mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
Use generic Ansible wait for connection
This commit is contained in:
parent
bb94e89409
commit
03ef74fe05
@ -4,9 +4,5 @@
|
|||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
- name: Wait for the servers to comes up
|
- name: Wait for the servers to comes up
|
||||||
wait_for:
|
wait_for_connection:
|
||||||
host: '{{ ansible_host }}'
|
|
||||||
port: 22
|
|
||||||
search_regex: OpenSSH
|
|
||||||
timeout: 600
|
timeout: 600
|
||||||
delegate_to: localhost
|
|
||||||
|
Loading…
Reference in New Issue
Block a user