mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update wait_for.py (#44071)
Removed the 'wait 300 seconds' from the examples that did not have the 300 sec timeout +label: docsite_pr
This commit is contained in:
parent
e5dcebaa8e
commit
aac668ee1f
1 changed files with 3 additions and 3 deletions
|
@ -106,19 +106,19 @@ EXAMPLES = r'''
|
|||
wait_for: timeout=300
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Wait 300 seconds for port 8000 to become open on the host, don't start checking for 10 seconds
|
||||
- name: Wait for port 8000 to become open on the host, don't start checking for 10 seconds
|
||||
wait_for:
|
||||
port: 8000
|
||||
delay: 10
|
||||
|
||||
- name: Wait 300 seconds for port 8000 of any IP to close active connections, don't start checking for 10 seconds
|
||||
- name: Waits for port 8000 of any IP to close active connections, don't start checking for 10 seconds
|
||||
wait_for:
|
||||
host: 0.0.0.0
|
||||
port: 8000
|
||||
delay: 10
|
||||
state: drained
|
||||
|
||||
- name: Wait 300 seconds for port 8000 of any IP to close active connections, ignoring connections for specified hosts
|
||||
- name: Wait for port 8000 of any IP to close active connections, ignoring connections for specified hosts
|
||||
wait_for:
|
||||
host: 0.0.0.0
|
||||
port: 8000
|
||||
|
|
Loading…
Reference in a new issue