Use generic Ansible wait for connection

This commit is contained in:
Khue Doan 2021-08-31 02:10:26 +07:00
parent bb94e89409
commit 03ef74fe05

View File

@ -4,9 +4,5 @@
delegate_to: localhost
- name: Wait for the servers to comes up
wait_for:
host: '{{ ansible_host }}'
port: 22
search_regex: OpenSSH
wait_for_connection:
timeout: 600
delegate_to: localhost