(abc*, doc frags): style adjustments (#9534)

pull/9542/head
Alexei Znamensky 2025-01-07 09:50:53 +13:00 committed by GitHub
parent 27c34b150f
commit aac7199087
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with 215 additions and 209 deletions

View File

@ -21,8 +21,8 @@ notes:
- E(CLC_V2_API_USERNAME), the account login ID for the Centurylink Cloud. - E(CLC_V2_API_USERNAME), the account login ID for the Centurylink Cloud.
- E(CLC_V2_API_PASSWORD), the account password for the Centurylink Cloud. - E(CLC_V2_API_PASSWORD), the account password for the Centurylink Cloud.
- Alternatively, the module accepts the API token and account alias. The API token can be generated using the CLC account - Alternatively, the module accepts the API token and account alias. The API token can be generated using the CLC account
login and password using the HTTP API call @ https://api.ctl.io/v2/authentication/login login and password using the HTTP API call @ U(https://api.ctl.io/v2/authentication/login).
- E(CLC_V2_API_TOKEN), the API token generated from https://api.ctl.io/v2/authentication/login - E(CLC_V2_API_TOKEN), the API token generated from U(https://api.ctl.io/v2/authentication/login).
- E(CLC_ACCT_ALIAS), the account alias associated with the Centurylink Cloud. - E(CLC_ACCT_ALIAS), the account alias associated with the Centurylink Cloud.
- Users can set E(CLC_V2_API_URL) to specify an endpoint for pointing to a different CLC environment. - Users can set E(CLC_V2_API_URL) to specify an endpoint for pointing to a different CLC environment.
""" """

View File

@ -14,9 +14,10 @@ class ModuleDocFragment(object):
# Standard LDAP documentation fragment # Standard LDAP documentation fragment
DOCUMENTATION = r""" DOCUMENTATION = r"""
notes: notes:
- The default authentication settings will attempt to use a SASL EXTERNAL bind over a UNIX domain socket. This works well with the default Ubuntu - The default authentication settings will attempt to use a SASL EXTERNAL bind over a UNIX domain socket. This works well
install for example, which includes a C(cn=peercred,cn=external,cn=auth) ACL rule allowing root to modify the server configuration. If you need with the default Ubuntu install for example, which includes a C(cn=peercred,cn=external,cn=auth) ACL rule allowing root
to use a simple bind to access your server, pass the credentials in O(bind_dn) and O(bind_pw). to modify the server configuration. If you need to use a simple bind to access your server, pass the credentials in O(bind_dn)
and O(bind_pw).
options: options:
bind_dn: bind_dn:
description: description:

View File

@ -40,9 +40,10 @@ options:
type: str type: str
api_user_key_file: api_user_key_file:
description: description:
- Full path and filename of the private key (in PEM format). If not set, then the value of the E(OCI_USER_KEY_FILE) variable, - Full path and filename of the private key (in PEM format). If not set, then the value of the E(OCI_USER_KEY_FILE)
if any, is used. This option is required if the private key is not specified through a configuration file (See O(config_file_location)). variable, if any, is used. This option is required if the private key is not specified through a configuration file
If the key is encrypted with a pass-phrase, the O(api_user_key_pass_phrase) option must also be provided. (See O(config_file_location)). If the key is encrypted with a pass-phrase, the O(api_user_key_pass_phrase) option
must also be provided.
type: path type: path
api_user_key_pass_phrase: api_user_key_pass_phrase:
description: description:

View File

@ -12,8 +12,8 @@ class ModuleDocFragment(object):
options: options:
force_create: force_create:
description: Whether to attempt non-idempotent creation of a resource. By default, create resource is an idempotent operation, description: Whether to attempt non-idempotent creation of a resource. By default, create resource is an idempotent operation,
and does not create the resource if it already exists. Setting this option to V(true), forcefully creates a copy of the and does not create the resource if it already exists. Setting this option to V(true), forcefully creates a copy of
resource, even if it already exists. This option is mutually exclusive with O(key_by). the resource, even if it already exists. This option is mutually exclusive with O(key_by).
default: false default: false
type: bool type: bool
key_by: key_by:

View File

@ -31,7 +31,8 @@ options:
utm_token: utm_token:
description: description:
- The token used to identify at the REST-API. - The token used to identify at the REST-API.
- See U(https://www.sophos.com/en-us/medialibrary/PDFs/documentation/UTMonAWS/Sophos-UTM-RESTful-API.pdf?la=en), Chapter 2.4.2. - See U(https://www.sophos.com/en-us/medialibrary/PDFs/documentation/UTMonAWS/Sophos-UTM-RESTful-API.pdf?la=en), Chapter
2.4.2.
type: str type: str
required: true required: true
utm_protocol: utm_protocol:

View File

@ -15,7 +15,8 @@ short_description: Check or wait for migrations between nodes
description: description:
- This can be used to check for migrations in a cluster. This makes it easy to do a rolling upgrade/update on Aerospike - This can be used to check for migrations in a cluster. This makes it easy to do a rolling upgrade/update on Aerospike
nodes. nodes.
- If waiting for migrations is not desired, simply just poll until port 3000 if available or C(asinfo -v status) returns ok. - If waiting for migrations is not desired, simply just poll until port 3000 if available or C(asinfo -v status) returns
ok.
author: "Albert Autin (@Alb0t)" author: "Albert Autin (@Alb0t)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.attributes - community.general.attributes

View File

@ -71,7 +71,7 @@ options:
type: str type: str
validate_certs: validate_certs:
description: description:
- If V(false), SSL certificates for the target url will not be validated. This should only be used on personally controlled - If V(false), SSL certificates for the target URL will not be validated. This should only be used on personally controlled
sites using self-signed certificates. sites using self-signed certificates.
required: false required: false
default: true default: true

View File

@ -172,7 +172,7 @@ options:
type: int type: int
instance_ids: instance_ids:
description: description:
- A list of instance ids. It is required when need to operate existing instances. If it is specified, O(count) will - A list of instance IDs. It is required when need to operate existing instances. If it is specified, O(count) will
lose efficacy. lose efficacy.
type: list type: list
elements: str elements: str
@ -554,7 +554,7 @@ instances:
type: str type: str
sample: 43.0.0.1 sample: 43.0.0.1
resource_group_id: resource_group_id:
description: The id of the resource group to which the instance belongs. description: The ID of the resource group to which the instance belongs.
returned: always returned: always
type: str type: str
sample: my-ecs-group sample: my-ecs-group

View File

@ -297,7 +297,7 @@ instances:
type: str type: str
sample: 43.0.0.1 sample: 43.0.0.1
resource_group_id: resource_group_id:
description: The id of the resource group to which the instance belongs. description: The ID of the resource group to which the instance belongs.
returned: always returned: always
type: str type: str
sample: my-ecs-group sample: my-ecs-group

View File

@ -69,9 +69,9 @@ notes:
it is only possible to answer one license prompt at a time, meaning that instead of installing multiple packages as a it is only possible to answer one license prompt at a time, meaning that instead of installing multiple packages as a
single invocation of the C(sdkmanager --install) command, it will be done by executing the command independently for each single invocation of the C(sdkmanager --install) command, it will be done by executing the command independently for each
package. This makes sure that at most only one license prompt will need to be answered. At the time of writing this module, package. This makes sure that at most only one license prompt will need to be answered. At the time of writing this module,
a C(sdkmanager)'s package may belong to at most one license type that needs to be accepted. However, if this changes a C(sdkmanager)'s package may belong to at most one license type that needs to be accepted. However, if this changes in
in the future, the module may hang as there might be more prompts generated by the C(sdkmanager) tool which the module the future, the module may hang as there might be more prompts generated by the C(sdkmanager) tool which the module will
will not be able to answer. If this becomes the case, file an issue and in the meantime, consider accepting all the licenses not be able to answer. If this becomes the case, file an issue and in the meantime, consider accepting all the licenses
in advance, as it is described in the C(sdkmanager) L(documentation,https://developer.android.com/tools/sdkmanager#accept-licenses), in advance, as it is described in the C(sdkmanager) L(documentation,https://developer.android.com/tools/sdkmanager#accept-licenses),
for instance, using the M(ansible.builtin.command) module. for instance, using the M(ansible.builtin.command) module.
seealso: seealso:

View File

@ -75,7 +75,7 @@ options:
default: "https://api.bigpanda.io" default: "https://api.bigpanda.io"
validate_certs: validate_certs:
description: description:
- If V(false), SSL certificates for the target url will not be validated. This should only be used on personally controlled - If V(false), SSL certificates for the target URL will not be validated. This should only be used on personally controlled
sites using self-signed certificates. sites using self-signed certificates.
required: false required: false
default: true default: true

View File

@ -49,7 +49,7 @@ filesystems:
- /dev/sda1 - /dev/sda1
- /dev/sdb1 - /dev/sdb1
default_subvolume: default_subvolume:
description: The id of the filesystem's default subvolume. description: The ID of the filesystem's default subvolume.
type: int type: int
sample: 5 sample: 5
subvolumes: subvolumes:

View File

@ -38,12 +38,12 @@ options:
elements: str elements: str
required: true required: true
path: path:
description: The base path where to install the Rust packages. Cargo automatically appends V(/bin). In other words, description: The base path where to install the Rust packages. Cargo automatically appends V(/bin). In other words, V(/usr/local)
V(/usr/local) will become V(/usr/local/bin). will become V(/usr/local/bin).
type: path type: path
version: version:
description: The version to install. If O(name) contains multiple values, the module will try to install all of them description: The version to install. If O(name) contains multiple values, the module will try to install all of them in
in this version. this version.
type: str type: str
required: false required: false
locked: locked:

View File

@ -47,7 +47,7 @@ options:
user_id: user_id:
type: str type: str
description: description:
- User Id from API account page. - User ID from API account page.
required: true required: true
api_token: api_token:
type: str type: str
@ -62,7 +62,7 @@ options:
author: "Jonathan Mainguy (@Jmainguy)" author: "Jonathan Mainguy (@Jmainguy)"
notes: notes:
- Will return changed even if the media url is wrong. - Will return changed even if the media URL is wrong.
- Will return changed if the destination number is invalid. - Will return changed if the destination number is invalid.
""" """

View File

@ -36,11 +36,11 @@ options:
type: str type: str
id: id:
description: description:
- The alert policy id. This is mutually exclusive with O(name). - The alert policy ID. This is mutually exclusive with O(name).
type: str type: str
alert_recipients: alert_recipients:
description: description:
- A list of recipient email ids to notify the alert. This is required for O(state=present). - A list of recipient email IDs to notify the alert. This is required for O(state=present).
type: list type: list
elements: str elements: str
metric: metric:

View File

@ -27,13 +27,13 @@ attributes:
options: options:
server_ids: server_ids:
description: description:
- A list of server Ids to deploy the blue print package. - A list of server IDs to deploy the blue print package.
type: list type: list
required: true required: true
elements: str elements: str
package_id: package_id:
description: description:
- The package id of the blue print. - The package ID of the blue print.
type: str type: str
required: true required: true
package_params: package_params:
@ -71,7 +71,7 @@ EXAMPLES = r"""
RETURN = r""" RETURN = r"""
server_ids: server_ids:
description: The list of server ids that are changed. description: The list of server IDs that are changed.
returned: success returned: success
type: list type: list
sample: ["UC1TEST-SERVER1", "UC1TEST-SERVER2"] sample: ["UC1TEST-SERVER1", "UC1TEST-SERVER2"]

View File

@ -54,7 +54,7 @@ options:
elements: str elements: str
firewall_policy_id: firewall_policy_id:
description: description:
- Id of the firewall policy. This is required to update or delete an existing firewall policy. - ID of the firewall policy. This is required to update or delete an existing firewall policy.
type: str type: str
source_account_alias: source_account_alias:
description: description:
@ -109,7 +109,7 @@ EXAMPLES = r"""
RETURN = r""" RETURN = r"""
firewall_policy_id: firewall_policy_id:
description: The firewall policy id. description: The firewall policy ID.
returned: success returned: success
type: str type: str
sample: fc36f1bfd47242e488a9c44346438c05 sample: fc36f1bfd47242e488a9c44346438c05

View File

@ -27,7 +27,7 @@ attributes:
options: options:
server_ids: server_ids:
description: description:
- A list of server Ids to modify. - A list of server IDs to modify.
type: list type: list
required: true required: true
elements: str elements: str
@ -41,7 +41,7 @@ options:
type: str type: str
anti_affinity_policy_id: anti_affinity_policy_id:
description: description:
- The anti affinity policy id to be set for a hyper scale server. This is mutually exclusive with O(anti_affinity_policy_name). - The anti affinity policy ID to be set for a hyper scale server. This is mutually exclusive with O(anti_affinity_policy_name).
type: str type: str
anti_affinity_policy_name: anti_affinity_policy_name:
description: description:
@ -49,7 +49,7 @@ options:
type: str type: str
alert_policy_id: alert_policy_id:
description: description:
- The alert policy id to be associated to the server. This is mutually exclusive with O(alert_policy_name). - The alert policy ID to be associated to the server. This is mutually exclusive with O(alert_policy_name).
type: str type: str
alert_policy_name: alert_policy_name:
description: description:
@ -131,7 +131,7 @@ EXAMPLES = r"""
RETURN = r""" RETURN = r"""
server_ids: server_ids:
description: The list of server ids that are changed. description: The list of server IDs that are changed.
returned: success returned: success
type: list type: list
sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"] sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"]

View File

@ -99,7 +99,7 @@ EXAMPLES = r"""
RETURN = r""" RETURN = r"""
server_ids: server_ids:
description: The list of server ids that are changed. description: The list of server IDs that are changed.
returned: success returned: success
type: list type: list
sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"] sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"]

View File

@ -137,7 +137,7 @@ options:
type: str type: str
public_ip_protocol: public_ip_protocol:
description: description:
- The protocol to use for the public ip if O(add_public_ip=true). - The protocol to use for the public IP if O(add_public_ip=true).
type: str type: str
default: 'TCP' default: 'TCP'
choices: ['TCP', 'UDP', 'ICMP'] choices: ['TCP', 'UDP', 'ICMP']
@ -245,12 +245,12 @@ EXAMPLES = r"""
RETURN = r""" RETURN = r"""
server_ids: server_ids:
description: The list of server ids that are created. description: The list of server IDs that are created.
returned: success returned: success
type: list type: list
sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"] sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"]
partially_created_server_ids: partially_created_server_ids:
description: The list of server ids that are partially created. description: The list of server IDs that are partially created.
returned: success returned: success
type: list type: list
sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"] sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"]

View File

@ -27,7 +27,7 @@ attributes:
options: options:
server_ids: server_ids:
description: description:
- The list of CLC server Ids. - The list of CLC server IDs.
type: list type: list
required: true required: true
elements: str elements: str
@ -83,7 +83,7 @@ EXAMPLES = r"""
RETURN = r""" RETURN = r"""
server_ids: server_ids:
description: The list of server ids that are changed. description: The list of server IDs that are changed.
returned: success returned: success
type: list type: list
sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"] sample: ["UC1TEST-SVR01", "UC1TEST-SVR02"]

View File

@ -110,7 +110,8 @@ requirements:
- php - php
- composer installed in bin path (recommended C(/usr/local/bin)) or specified in O(composer_executable) - composer installed in bin path (recommended C(/usr/local/bin)) or specified in O(composer_executable)
notes: notes:
- Default options that are always appended in each execution are C(--no-ansi), C(--no-interaction) and C(--no-progress) if available. - Default options that are always appended in each execution are C(--no-ansi), C(--no-interaction) and C(--no-progress)
if available.
- We received reports about issues on macOS if composer was installed by Homebrew. Please use the official install method - We received reports about issues on macOS if composer was installed by Homebrew. Please use the official install method
to avoid issues. to avoid issues.
""" """

View File

@ -16,9 +16,9 @@ description:
- Registers services and checks for an agent with a Consul cluster. A service is some process running on the agent node - Registers services and checks for an agent with a Consul cluster. A service is some process running on the agent node
that should be advertised by Consul's discovery mechanism. It may optionally supply a check definition, a periodic service that should be advertised by Consul's discovery mechanism. It may optionally supply a check definition, a periodic service
test to notify the Consul cluster of service's health. test to notify the Consul cluster of service's health.
- Checks may also be registered per node, for example disk usage, or cpu usage and notify the health of the entire node to the cluster. - Checks may also be registered per node, for example disk usage, or cpu usage and notify the health of the entire node
Service level checks do not require a check name or id as these are derived by Consul from the Service name and id respectively to the cluster. Service level checks do not require a check name or ID as these are derived by Consul from the Service
by appending V(service:) Node level checks require a O(check_name) and optionally a O(check_id). name and ID respectively by appending V(service:) Node level checks require a O(check_name) and optionally a O(check_id).
- Currently, there is no complete way to retrieve the script, interval or TTL metadata for a registered check. Without this - Currently, there is no complete way to retrieve the script, interval or TTL metadata for a registered check. Without this
metadata it is not possible to tell if the data supplied with ansible represents a change to a check. As a result this metadata it is not possible to tell if the data supplied with ansible represents a change to a check. As a result this
does not attempt to determine changes and will always report a changed occurred. An API method is planned to supply this does not attempt to determine changes and will always report a changed occurred. An API method is planned to supply this

View File

@ -70,8 +70,8 @@ options:
type: int type: int
enable_tag_override: enable_tag_override:
description: description:
- Specifies to disable the anti-entropy feature for this service's tags. If C(EnableTagOverride) is set to true then external - Specifies to disable the anti-entropy feature for this service's tags. If C(EnableTagOverride) is set to true then
agents can update this service in the catalog and modify the tags. external agents can update this service in the catalog and modify the tags.
type: bool type: bool
default: false default: false
weights: weights:

View File

@ -14,8 +14,8 @@ module: consul_binding_rule
short_description: Manipulate Consul binding rules short_description: Manipulate Consul binding rules
version_added: 8.3.0 version_added: 8.3.0
description: description:
- Allows the addition, modification and deletion of binding rules in a Consul cluster using the agent. For more details on - Allows the addition, modification and deletion of binding rules in a Consul cluster using the agent. For more details
using and configuring binding rules, see U(https://developer.hashicorp.com/consul/api-docs/acl/binding-rules). on using and configuring binding rules, see U(https://developer.hashicorp.com/consul/api-docs/acl/binding-rules).
author: author:
- Florian Apolloner (@apollo13) - Florian Apolloner (@apollo13)
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -40,8 +40,8 @@ options:
contents. If the state is V(present) and O(value) is not set, the existing value associated to the key will be returned. contents. If the state is V(present) and O(value) is not set, the existing value associated to the key will be returned.
The state V(absent) will remove the key/value pair, again C(changed) will be set to V(true) only if the key actually The state V(absent) will remove the key/value pair, again C(changed) will be set to V(true) only if the key actually
existed prior to the removal. An attempt can be made to obtain or free the lock associated with a key/value pair with existed prior to the removal. An attempt can be made to obtain or free the lock associated with a key/value pair with
the states V(acquire) or V(release) respectively. A valid session must be supplied to make the attempt C(changed) will the states V(acquire) or V(release) respectively. A valid session must be supplied to make the attempt C(changed)
be V(true) if the attempt is successful, V(false) otherwise. will be V(true) if the attempt is successful, V(false) otherwise.
type: str type: str
choices: [absent, acquire, present, release] choices: [absent, acquire, present, release]
default: present default: present

View File

@ -14,8 +14,8 @@ module: consul_role
short_description: Manipulate Consul roles short_description: Manipulate Consul roles
version_added: 7.5.0 version_added: 7.5.0
description: description:
- Allows the addition, modification and deletion of roles in a Consul cluster using the agent. For more details on using and - Allows the addition, modification and deletion of roles in a Consul cluster using the agent. For more details on using
configuring ACLs, see U(https://www.consul.io/docs/guides/acl.html). and configuring ACLs, see U(https://www.consul.io/docs/guides/acl.html).
author: author:
- Håkon Lerring (@Hakon) - Håkon Lerring (@Hakon)
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -37,10 +37,11 @@ options:
type: str type: str
state: state:
description: description:
- Whether the session should be present, in other words it should be created if it does not exist, or absent, removed if present. If created, - Whether the session should be present, in other words it should be created if it does not exist, or absent, removed
the O(id) for the session is returned in the output. If V(absent), O(id) is required to remove the session. Info for if present. If created, the O(id) for the session is returned in the output. If V(absent), O(id) is required to remove
a single session, all the sessions for a node or all available sessions can be retrieved by specifying V(info), V(node) the session. Info for a single session, all the sessions for a node or all available sessions can be retrieved by
or V(list) for the O(state); for V(node) or V(info), the node O(name) or session O(id) is required as parameter. specifying V(info), V(node) or V(list) for the O(state); for V(node) or V(info), the node O(name) or session O(id)
is required as parameter.
choices: [absent, info, list, node, present] choices: [absent, info, list, node, present]
type: str type: str
default: present default: present