Fix more module returns (#24782)

* Correct return structure

* typo
pull/19297/merge
John R Barker 7 years ago committed by GitHub
parent 3fbf3b51ff
commit ed2f13b3db

@ -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',

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

@ -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

@ -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

Loading…
Cancel
Save