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]', usage='usage: %prog [options] [plugin]',
module_opts=True, module_opts=True,
desc="plugin documentation tool", 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', self.parser.add_option("-l", "--list", action="store_true", default=False, dest='list_dir',

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

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

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

Loading…
Cancel
Save