1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix sanity issues. (#4346)

This commit is contained in:
Felix Fontein 2022-03-14 20:56:27 +01:00 committed by GitHub
parent 386bb4bdd5
commit ca2c64b5ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 28 additions and 19 deletions

View file

@ -20,6 +20,7 @@ DOCUMENTATION = '''
- List of connection information for the memcached DBs - List of connection information for the memcached DBs
default: ['127.0.0.1:11211'] default: ['127.0.0.1:11211']
type: list type: list
elements: string
env: env:
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION - name: ANSIBLE_CACHE_PLUGIN_CONNECTION
ini: ini:

View file

@ -58,6 +58,7 @@ DOCUMENTATION = '''
group_by: group_by:
description: Keys to group hosts by description: Keys to group hosts by
type: list type: list
elements: string
default: [ 'mgmt_classes', 'owners', 'status' ] default: [ 'mgmt_classes', 'owners', 'status' ]
group: group:
description: Group to place all hosts into description: Group to place all hosts into

View file

@ -35,7 +35,6 @@ DOCUMENTATION = '''
version_added: 1.0.0 version_added: 1.0.0
type: str type: str
required: true required: true
default: https://gitlab.com
api_token: api_token:
description: GitLab token for logging in. description: GitLab token for logging in.
env: env:

View file

@ -54,15 +54,18 @@ DOCUMENTATION = r'''
description: Populate inventory with instances in this region. description: Populate inventory with instances in this region.
default: [] default: []
type: list type: list
elements: string
tags: tags:
description: Populate inventory only with instances which have at least one of the tags listed here. description: Populate inventory only with instances which have at least one of the tags listed here.
default: [] default: []
type: list type: list
elements: string
version_added: 2.0.0 version_added: 2.0.0
types: types:
description: Populate inventory with instances with this type. description: Populate inventory with instances with this type.
default: [] default: []
type: list type: list
elements: string
strict: strict:
version_added: 2.0.0 version_added: 2.0.0
compose: compose:

View file

@ -27,6 +27,7 @@ DOCUMENTATION = '''
exclude: exclude:
description: list of addresses to exclude description: list of addresses to exclude
type: list type: list
elements: string
ports: ports:
description: Enable/disable scanning for open ports description: Enable/disable scanning for open ports
type: boolean type: boolean

View file

@ -28,6 +28,7 @@ DOCUMENTATION = r'''
hostnames: hostnames:
description: List of preference about what to use as an hostname. description: List of preference about what to use as an hostname.
type: list type: list
elements: string
default: default:
- public_ipv4 - public_ipv4
choices: choices:
@ -37,6 +38,7 @@ DOCUMENTATION = r'''
groups: groups:
description: List of groups. description: List of groups.
type: list type: list
elements: string
choices: choices:
- location - location
- offer - offer

View file

@ -23,6 +23,7 @@ DOCUMENTATION = r'''
regions: regions:
description: Filter results on a specific Scaleway region. description: Filter results on a specific Scaleway region.
type: list type: list
elements: string
default: default:
- ams1 - ams1
- par1 - par1
@ -31,6 +32,7 @@ DOCUMENTATION = r'''
tags: tags:
description: Filter results on a specific tag. description: Filter results on a specific tag.
type: list type: list
elements: string
scw_profile: scw_profile:
description: description:
- The config profile to use in config file. - The config profile to use in config file.
@ -51,6 +53,7 @@ DOCUMENTATION = r'''
hostnames: hostnames:
description: List of preference about what to use as an hostname. description: List of preference about what to use as an hostname.
type: list type: list
elements: string
default: default:
- public_ipv4 - public_ipv4
choices: choices:

View file

@ -20,6 +20,7 @@ DOCUMENTATION = '''
_raw: _raw:
description: List of key(s) to retrieve. description: List of key(s) to retrieve.
type: list type: list
elements: string
recurse: recurse:
type: boolean type: boolean
description: If true, will retrieve all the values that have the given key as prefix. description: If true, will retrieve all the values that have the given key as prefix.

View file

@ -17,11 +17,11 @@ DOCUMENTATION = '''
_terms: _terms:
description: term or list of terms to lookup in the credit store description: term or list of terms to lookup in the credit store
type: list type: list
required: True elements: string
required: true
table: table:
description: name of the credstash table to query description: name of the credstash table to query
default: 'credential-store' default: 'credential-store'
required: True
version: version:
description: Credstash version description: Credstash version
region: region:

View file

@ -18,6 +18,7 @@ DOCUMENTATION = '''
description: domain or list of domains to query TXT records from description: domain or list of domains to query TXT records from
required: True required: True
type: list type: list
elements: string
''' '''
EXAMPLES = """ EXAMPLES = """

View file

@ -42,7 +42,7 @@ options:
description: description:
- Whether to wait for the tasks to finish before returning. - Whether to wait for the tasks to finish before returning.
type: str type: str
default: True default: 'True'
required: False required: False
requirements: requirements:
- python = 2.7 - python = 2.7

View file

@ -66,8 +66,8 @@ options:
description: description:
- Whether the firewall policy is enabled or disabled - Whether the firewall policy is enabled or disabled
type: str type: str
choices: [True, False] choices: ['True', 'False']
default: True default: 'True'
requirements: requirements:
- python = 2.7 - python = 2.7
- requests >= 2.5.0 - requests >= 2.5.0

View file

@ -48,7 +48,7 @@ options:
description: description:
- Port to configure on the public-facing side of the load balancer pool - Port to configure on the public-facing side of the load balancer pool
type: str type: str
choices: [80, 443] choices: ['80', '443']
nodes: nodes:
description: description:
- A list of nodes that needs to be added to the load balancer pool - A list of nodes that needs to be added to the load balancer pool

View file

@ -36,7 +36,7 @@ options:
wait: wait:
description: description:
- Whether to wait for the provisioning tasks to finish before returning. - Whether to wait for the provisioning tasks to finish before returning.
default: True default: 'True'
required: False required: False
type: str type: str
requirements: requirements:

View file

@ -51,7 +51,6 @@ options:
group.s group.s
type: str type: str
required: false required: false
default: 0
vpc_id: vpc_id:
description: description:
- Specifies the resource ID of the VPC to which the security group - Specifies the resource ID of the VPC to which the security group

View file

@ -42,7 +42,7 @@ options:
description: description:
- version of database (MySQL supports 5.1 and 5.6, MariaDB supports 10, Percona supports 5.6) - version of database (MySQL supports 5.1 and 5.6, MariaDB supports 10, Percona supports 5.6)
- "The available choices are: C(5.1), C(5.6) and C(10)." - "The available choices are: C(5.1), C(5.6) and C(10)."
default: 5.6 default: '5.6'
aliases: ['version'] aliases: ['version']
state: state:
type: str type: str

View file

@ -25,7 +25,7 @@ options:
port: port:
description: description:
Database port to connect to. Database port to connect to.
default: 5433 default: '5433'
type: str type: str
db: db:
description: description:

View file

@ -44,7 +44,7 @@ options:
port: port:
description: description:
- Vertica cluster port to connect to. - Vertica cluster port to connect to.
default: 5433 default: '5433'
type: str type: str
login_user: login_user:
description: description:

View file

@ -58,7 +58,7 @@ options:
port: port:
description: description:
- Vertica cluster port to connect to. - Vertica cluster port to connect to.
default: 5433 default: '5433'
type: str type: str
login_user: login_user:
description: description:

View file

@ -70,7 +70,7 @@ options:
port: port:
description: description:
- Vertica cluster port to connect to. - Vertica cluster port to connect to.
default: 5433 default: '5433'
type: str type: str
login_user: login_user:
description: description:

View file

@ -84,7 +84,6 @@ options:
description: description:
- Dictionary of scopes to silence, with timestamps or None. - Dictionary of scopes to silence, with timestamps or None.
- Each scope will be muted until the given POSIX timestamp or forever if the value is None. - Each scope will be muted until the given POSIX timestamp or forever if the value is None.
default: ""
notify_no_data: notify_no_data:
description: description:
- Whether this monitor will notify when data stops reporting. - Whether this monitor will notify when data stops reporting.

View file

@ -77,8 +77,8 @@ options:
description: description:
- Network family defined by Infinity, e.g. IPv4, IPv6 and Dual stack - Network family defined by Infinity, e.g. IPv4, IPv6 and Dual stack
type: str type: str
choices: [ 4, 6, dual ] choices: [ '4', '6', dual ]
default: 4 default: '4'
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -28,7 +28,7 @@ options:
description: description:
- The port on which the iSCSI target process listens. - The port on which the iSCSI target process listens.
type: str type: str
default: 3260 default: '3260'
target: target:
description: description:
- The iSCSI target name. - The iSCSI target name.

View file

@ -20,7 +20,6 @@ options:
- The domain that will be added or removed from the list of permissive domains. - The domain that will be added or removed from the list of permissive domains.
type: str type: str
required: true required: true
default: ''
aliases: [ name ] aliases: [ name ]
permissive: permissive:
description: description: