Convert to reduced list of known types (#50010)

This commit is contained in:
Dag Wieers 2018-12-18 22:25:30 +01:00 committed by Jordan Borean
commit 05c6ff79f9
908 changed files with 4822 additions and 4821 deletions

View file

@ -114,7 +114,7 @@ RETURN = '''
account_uri:
description: ACME account URI, or None if account does not exist.
returned: always
type: string
type: str
'''
from ansible.module_utils.acme import (

View file

@ -66,7 +66,7 @@ exists:
account_uri:
description: ACME account URI, or None if account does not exist.
returned: always
type: string
type: str
account:
description: The account information, as retrieved from the ACME server.

View file

@ -281,7 +281,7 @@ challenge_data:
resource:
description: the challenge resource that must be created for validation
returned: changed
type: string
type: str
sample: .well-known/acme-challenge/evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oA
resource_value:
description:
@ -294,12 +294,12 @@ challenge_data:
for details. To do this, you might need the C(b64decode) Jinja filter
to extract the binary blob from this return value."
returned: changed
type: string
type: str
sample: IlirfxKKXA...17Dt3juxGJ-PCt92wr-oA
record:
description: the full DNS record's name for the challenge
returned: changed and challenge is C(dns-01)
type: string
type: str
sample: _acme-challenge.example.com
version_added: "2.5"
challenge_data_dns:
@ -319,17 +319,17 @@ authorizations:
order_uri:
description: ACME order URI.
returned: changed
type: string
type: str
version_added: "2.5"
finalization_uri:
description: ACME finalization URI.
returned: changed
type: string
type: str
version_added: "2.5"
account_uri:
description: ACME account URI.
returned: changed
type: string
type: str
version_added: "2.5"
'''

View file

@ -97,12 +97,12 @@ domain:
description:
- "The domain the challenge is for."
returned: always
type: string
type: str
challenge_certificate:
description:
- "The challenge certificate in PEM format."
returned: always
type: string
type: str
regular_certificate:
description:
- "A self-signed certificate for the challenge domain."
@ -110,7 +110,7 @@ regular_certificate:
https in the first place if that is needed for providing
the challenge."
returned: always
type: string
type: str
'''
from ansible.module_utils.acme import (

View file

@ -224,7 +224,7 @@ headers:
output_text:
description: The raw text output
returned: always
type: string
type: str
sample: "{\\n \\\"id\\\": 12345,\\n \\\"key\\\": {\\n \\\"kty\\\": \\\"RSA\\\",\\n ..."
output_json:
description: The output parsed as JSON