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:
Jonny McCullagh 2018-08-13 15:48:21 +01:00 committed by Sam Doran
parent e5dcebaa8e
commit aac668ee1f

View file

@ -106,19 +106,19 @@ EXAMPLES = r'''
wait_for: timeout=300 wait_for: timeout=300
delegate_to: localhost 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: wait_for:
port: 8000 port: 8000
delay: 10 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: wait_for:
host: 0.0.0.0 host: 0.0.0.0
port: 8000 port: 8000
delay: 10 delay: 10
state: drained 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: wait_for:
host: 0.0.0.0 host: 0.0.0.0
port: 8000 port: 8000