mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 19:20:22 -07:00
Adjust YAML in plugin docs (#10234)
* Adjust YAML in plugin docs. * Update ignore.txt. * Forgot two indents. * adjust connection plugins adjust filter plugins adjust inventory plugins adjust lookup plugins * Re-add YAML document start. --------- Co-authored-by: Alexei Znamensky <russoz@gmail.com>
This commit is contained in:
parent
e8f965fbf8
commit
d032de3b16
22 changed files with 903 additions and 859 deletions
|
@ -17,41 +17,41 @@ else:
|
|||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
name: fqdn_valid
|
||||
short_description: Validates fully-qualified domain names against RFC 1123
|
||||
version_added: 8.1.0
|
||||
author: Vladimir Botka (@vbotka)
|
||||
requirements:
|
||||
name: fqdn_valid
|
||||
short_description: Validates fully-qualified domain names against RFC 1123
|
||||
version_added: 8.1.0
|
||||
author: Vladimir Botka (@vbotka)
|
||||
requirements:
|
||||
- fqdn>=1.5.1 (PyPI)
|
||||
description:
|
||||
- This test validates Fully Qualified Domain Names (FQDNs)
|
||||
conforming to the Internet Engineering Task Force specification
|
||||
RFC 1123 and RFC 952.
|
||||
- The design intent is to validate that a string would be
|
||||
traditionally acceptable as a public Internet hostname to
|
||||
RFC-conforming software, which is a strict subset of the logic
|
||||
in modern web browsers like Mozilla Firefox and Chromium that
|
||||
determines whether make a DNS lookup.
|
||||
- Certificate Authorities like Let's Encrypt run a narrower set of
|
||||
string validation logic to determine validity for issuance. This
|
||||
test is not intended to achieve functional parity with CA
|
||||
issuance.
|
||||
- Single label names are allowed by default (O(min_labels=1)).
|
||||
options:
|
||||
_input:
|
||||
description: Name of the host.
|
||||
type: str
|
||||
required: true
|
||||
min_labels:
|
||||
description: Required minimum of labels, separated by period.
|
||||
default: 1
|
||||
type: int
|
||||
required: false
|
||||
allow_underscores:
|
||||
description: Allow underscore characters.
|
||||
default: false
|
||||
type: bool
|
||||
required: false
|
||||
description:
|
||||
- This test validates Fully Qualified Domain Names (FQDNs)
|
||||
conforming to the Internet Engineering Task Force specification
|
||||
RFC 1123 and RFC 952.
|
||||
- The design intent is to validate that a string would be
|
||||
traditionally acceptable as a public Internet hostname to
|
||||
RFC-conforming software, which is a strict subset of the logic
|
||||
in modern web browsers like Mozilla Firefox and Chromium that
|
||||
determines whether make a DNS lookup.
|
||||
- Certificate Authorities like Let's Encrypt run a narrower set of
|
||||
string validation logic to determine validity for issuance. This
|
||||
test is not intended to achieve functional parity with CA
|
||||
issuance.
|
||||
- Single label names are allowed by default (O(min_labels=1)).
|
||||
options:
|
||||
_input:
|
||||
description: Name of the host.
|
||||
type: str
|
||||
required: true
|
||||
min_labels:
|
||||
description: Required minimum of labels, separated by period.
|
||||
default: 1
|
||||
type: int
|
||||
required: false
|
||||
allow_underscores:
|
||||
description: Allow underscore characters.
|
||||
default: false
|
||||
type: bool
|
||||
required: false
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
@ -69,9 +69,9 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
_value:
|
||||
description: Whether the name is valid.
|
||||
type: bool
|
||||
_value:
|
||||
description: Whether the name is valid.
|
||||
type: bool
|
||||
'''
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue