Check port instead of Ansible connection because CoreOS doesn't have Python

This commit is contained in:
Khue Doan 2021-06-13 20:25:46 +07:00
parent e032e7c4f7
commit 69c6f665f7

View File

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