1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix more module returns (#24782)

* Correct return structure

* typo
This commit is contained in:
John R Barker 2017-05-18 17:38:10 +01:00 committed by GitHub
parent 3fbf3b51ff
commit ed2f13b3db
4 changed files with 7 additions and 10 deletions

View file

@ -56,7 +56,7 @@ class DocCLI(CLI):
usage='usage: %prog [options] [plugin]',
module_opts=True,
desc="plugin documentation tool",
epilog="See man pages for Ansbile CLI options or website for tutorials https://docs.ansible.com"
epilog="See man pages for Ansible CLI options or website for tutorials https://docs.ansible.com"
)
self.parser.add_option("-l", "--list", action="store_true", default=False, dest='list_dir',

View file

@ -81,9 +81,6 @@ options:
'''
RETURN = '''
#
'''
EXAMPLES = '''
# Create a new virtual server

View file

@ -64,8 +64,8 @@ RETURN = '''
diff:
description: The differences about the given arguments.
returned: success
type: dictionary
sample:
type: complex
contains:
before:
description: The values before change
type: dict

View file

@ -141,8 +141,8 @@ cert_days:
challenge_data:
description: per domain / challenge type challenge data
returned: changed
type: dictionary
sample:
type: complex
contains:
resource:
description: the challenge resource that must be created for validation
returned: changed
@ -156,8 +156,8 @@ challenge_data:
authorizations:
description: ACME authorization data.
returned: changed
type: list
sample:
type: complex
contains:
authorization:
description: ACME authorization object. See https://tools.ietf.org/html/draft-ietf-acme-acme-02#section-6.1.2
returned: success