fixed RETURN docs for modules (#24011)

* fixed RETURN docs for remaining modules

* updated proxymysql_mysql_users 'sample' to yaml dict

* fixed whitespace errors
This commit is contained in:
Andrea Tartaglia
2017-04-26 15:56:13 +01:00
committed by John R Barker
parent 9a0a7f78d7
commit d1517f997a
40 changed files with 105 additions and 102 deletions

View File

@@ -141,23 +141,17 @@ EXAMPLES = '''
RETURN = '''
csr:
description: Path to the generated Certificate Signing Request
returned:
- changed
- success
returned: changed or success
type: string
sample: /etc/ssl/csr/www.ansible.com.csr
subject:
description: A dictionnary of the subject attached to the CSR
returned:
- changed
- success
returned: changed or success
type: list
sample: {'CN': 'www.ansible.com', 'O': 'Ansible'}
subjectAltName:
description: The alternative names this CSR is valid for
returned:
- changed
- success
returned: changed or success
type: string
sample: 'DNS:www.ansible.com,DNS:m.ansible.com'
'''

View File

@@ -88,23 +88,17 @@ EXAMPLES = '''
RETURN = '''
size:
description: Size (in bits) of the TLS/SSL private key
returned:
- changed
- success
type: integer
returned: changed or success
type: int
sample: 4096
type:
description: Algorithm used to generate the TLS/SSL private key
returned:
- changed
- success
returned: changed or success
type: string
sample: RSA
filename:
description: Path to the generated TLS/SSL private key file
returned:
- changed
- success
returned: changed or success
type: string
sample: /etc/ssl/private/ansible.com.pem
'''

View File

@@ -78,16 +78,12 @@ EXAMPLES = '''
RETURN = '''
privatekey:
description: Path to the TLS/SSL private key the public key was generated from
returned:
- changed
- success
returned: changed or success
type: string
sample: /etc/ssl/private/ansible.com.pem
filename:
description: Path to the generated TLS/SSL public key file
returned:
- changed
- success
returned: changed or success
type: string
sample: /etc/ssl/public/ansible.com.pem
'''