mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 09:13:12 +00:00
Standardize docs
This commit is contained in:
@@ -60,14 +60,16 @@ options:
|
||||
poll for the port being open or closed.
|
||||
choices: [ "started", "stopped" ]
|
||||
default: "started"
|
||||
examples:
|
||||
- code: "wait_for: port=8000 delay=10"
|
||||
description: "Example from Ansible Playbooks"
|
||||
notes: []
|
||||
requirements: []
|
||||
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"
|
||||
'''
|
||||
|
||||
def main():
|
||||
|
||||
module = AnsibleModule(
|
||||
|
||||
Reference in New Issue
Block a user