mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Standardize docs
This commit is contained in:
parent
956bff2f07
commit
fdfba6aa68
1 changed files with 5 additions and 3 deletions
|
@ -60,14 +60,16 @@ options:
|
||||||
poll for the port being open or closed.
|
poll for the port being open or closed.
|
||||||
choices: [ "started", "stopped" ]
|
choices: [ "started", "stopped" ]
|
||||||
default: "started"
|
default: "started"
|
||||||
examples:
|
|
||||||
- code: "wait_for: port=8000 delay=10"
|
|
||||||
description: "Example from Ansible Playbooks"
|
|
||||||
notes: []
|
notes: []
|
||||||
requirements: []
|
requirements: []
|
||||||
author: Jeroen Hoekx
|
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():
|
def main():
|
||||||
|
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
|
|
Loading…
Reference in a new issue