Commit f25e0c25 by John Jarvis

adding example

parent 22a46c15
......@@ -75,6 +75,18 @@ author: Jeroen Hoekx
EXAMPLES = '''
# wait 300 seconds for port 8000 to become open on the host, don't start checking for 10 seconds
- wait_for: port=8000 delay=10"
# Wait 320 seconds for ssh to be available, don't start checking
# for 60 seconds. Wait 5 seconds after the check is successful.
- name: Wait for SSH to come up
local_action: >
wait_for
host={{ host_address }}
state=started
port=22
delay=60
timeout=320
delay_after=5
'''
def main():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment