Skip to content

Commit 8bf2ffc

Browse files
committed
swap wait_for to wait_for_connection
1 parent 491439d commit 8bf2ffc

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

olam/check_instance_available.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@
1313

1414
tasks:
1515

16-
- name: Wait for systems to become reachable using ssh
17-
ansible.builtin.wait_for:
18-
port: 22
19-
host: '{{ (ansible_ssh_host | default(ansible_host)) | default(inventory_hostname) }}'
20-
search_regex: OpenSSH
21-
delay: 10
22-
timeout: 300
16+
- name: Wait for systems to become reachable and usable
17+
ansible.builtin.wait_for_connection:
18+
19+
# - name: Wait for systems to become reachable using ssh
20+
# ansible.builtin.wait_for:
21+
# port: 22
22+
# host: '{{ (ansible_ssh_host | default(ansible_host)) | default(inventory_hostname) }}'
23+
# search_regex: OpenSSH
24+
# delay: 10
25+
# timeout: 300
2326

2427
- name: Get a set of all available facts
2528
ansible.builtin.setup:

0 commit comments

Comments
 (0)