mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
fix wait_for example
This commit is contained in:
parent
0c0defb63d
commit
425ab5598e
1 changed files with 1 additions and 5 deletions
|
@ -168,11 +168,7 @@ EXAMPLES = '''
|
||||||
|
|
||||||
# wait 300 seconds for port 22 to become open and contain "OpenSSH", don't assume the inventory_hostname is resolvable
|
# wait 300 seconds for port 22 to become open and contain "OpenSSH", don't assume the inventory_hostname is resolvable
|
||||||
# and don't start checking for 10 seconds
|
# and don't start checking for 10 seconds
|
||||||
- local_action: wait_for
|
- local_action: wait_for port=22 host="{{ ansible_ssh_host | default(inventory_hostname) }}" search_regex=OpenSSH delay=10
|
||||||
port: 22
|
|
||||||
host: "{{ ansible_ssh_host | default(inventory_hostname) }}"
|
|
||||||
search_regex: OpenSSH
|
|
||||||
delay: 10
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
class TCPConnectionInfo(object):
|
class TCPConnectionInfo(object):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue