fix misc. documentation typos and formatting for modules starting with u-y (#83422)

pull/83578/head
Alexei Znamensky 5 months ago committed by GitHub
parent 313f9d9f69
commit 293bba7533
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -22,19 +22,19 @@ options:
- 'When a list is provided, all ciphers are joined in order with V(:)' - 'When a list is provided, all ciphers are joined in order with V(:)'
- See the L(OpenSSL Cipher List Format,https://www.openssl.org/docs/manmaster/man1/openssl-ciphers.html#CIPHER-LIST-FORMAT) - See the L(OpenSSL Cipher List Format,https://www.openssl.org/docs/manmaster/man1/openssl-ciphers.html#CIPHER-LIST-FORMAT)
for more details. for more details.
- The available ciphers is dependent on the Python and OpenSSL/LibreSSL versions - The available ciphers is dependent on the Python and OpenSSL/LibreSSL versions.
type: list type: list
elements: str elements: str
version_added: '2.14' version_added: '2.14'
decompress: decompress:
description: description:
- Whether to attempt to decompress gzip content-encoded responses - Whether to attempt to decompress gzip content-encoded responses.
type: bool type: bool
default: true default: true
version_added: '2.14' version_added: '2.14'
url: url:
description: description:
- HTTP or HTTPS URL in the form (http|https)://host.domain[:port]/path - HTTP or HTTPS URL in the form (http|https)://host.domain[:port]/path.
type: str type: str
required: true required: true
dest: dest:
@ -58,17 +58,17 @@ options:
to V(json) it will take an already formatted JSON string or convert a data structure to V(json) it will take an already formatted JSON string or convert a data structure
into JSON. into JSON.
- If O(body_format) is set to V(form-urlencoded) it will convert a dictionary - If O(body_format) is set to V(form-urlencoded) it will convert a dictionary
or list of tuples into an 'application/x-www-form-urlencoded' string. (Added in v2.7) or list of tuples into an C(application/x-www-form-urlencoded) string. (Added in v2.7)
- If O(body_format) is set to V(form-multipart) it will convert a dictionary - If O(body_format) is set to V(form-multipart) it will convert a dictionary
into 'multipart/form-multipart' body. (Added in v2.10) into C(multipart/form-multipart) body. (Added in v2.10)
type: raw type: raw
body_format: body_format:
description: description:
- The serialization format of the body. When set to V(json), V(form-multipart), or V(form-urlencoded), encodes - The serialization format of the body. When set to V(json), V(form-multipart), or V(form-urlencoded), encodes
the body argument, if needed, and automatically sets the Content-Type header accordingly. the body argument, if needed, and automatically sets the C(Content-Type) header accordingly.
- As of v2.3 it is possible to override the C(Content-Type) header, when - As of v2.3 it is possible to override the C(Content-Type) header, when
set to V(json) or V(form-urlencoded) via the O(headers) option. set to V(json) or V(form-urlencoded) via the O(headers) option.
- The 'Content-Type' header cannot be overridden when using V(form-multipart) - The C(Content-Type) header cannot be overridden when using V(form-multipart).
- V(form-urlencoded) was added in v2.7. - V(form-urlencoded) was added in v2.7.
- V(form-multipart) was added in v2.10. - V(form-multipart) was added in v2.10.
type: str type: str
@ -86,7 +86,7 @@ options:
description: description:
- Whether or not to return the body of the response as a "content" key in - Whether or not to return the body of the response as a "content" key in
the dictionary result no matter it succeeded or failed. the dictionary result no matter it succeeded or failed.
- Independently of this option, if the reported Content-type is "application/json", then the JSON is - Independently of this option, if the reported C(Content-Type) is C(application/json), then the JSON is
always loaded into a key called RV(ignore:json) in the dictionary results. always loaded into a key called RV(ignore:json) in the dictionary results.
type: bool type: bool
default: no default: no
@ -155,7 +155,7 @@ options:
client_cert: client_cert:
description: description:
- PEM formatted certificate chain file to be used for SSL client authentication. - PEM formatted certificate chain file to be used for SSL client authentication.
- This file can also include the key as well, and if the key is included, O(client_key) is not required - This file can also include the key as well, and if the key is included, O(client_key) is not required.
type: path type: path
version_added: '2.4' version_added: '2.4'
client_key: client_key:
@ -166,7 +166,7 @@ options:
version_added: '2.4' version_added: '2.4'
ca_path: ca_path:
description: description:
- PEM formatted file that contains a CA certificate to be used for validation - PEM formatted file that contains a CA certificate to be used for validation.
type: path type: path
version_added: '2.11' version_added: '2.11'
src: src:
@ -195,7 +195,7 @@ options:
default: true default: true
unix_socket: unix_socket:
description: description:
- Path to Unix domain socket to use for connection - Path to Unix domain socket to use for connection.
type: path type: path
version_added: '2.8' version_added: '2.8'
http_agent: http_agent:
@ -225,9 +225,9 @@ options:
version_added: '2.11' version_added: '2.11'
use_netrc: use_netrc:
description: description:
- Determining whether to use credentials from ``~/.netrc`` file - Determining whether to use credentials from C(~/.netrc) file.
- By default .netrc is used with Basic authentication headers - By default C(.netrc) is used with Basic authentication headers.
- When set to False, .netrc credentials are ignored - When V(false), C(.netrc) credentials are ignored.
type: bool type: bool
default: true default: true
version_added: '2.14' version_added: '2.14'

@ -37,19 +37,19 @@ options:
version_added: "2.6" version_added: "2.6"
non_unique: non_unique:
description: description:
- Optionally when used with the -u option, this option allows to change the user ID to a non-unique value. - Optionally when used with the C(-u) option, this option allows to change the user ID to a non-unique value.
type: bool type: bool
default: no default: no
version_added: "1.1" version_added: "1.1"
seuser: seuser:
description: description:
- Optionally sets the seuser type (user_u) on selinux enabled systems. - Optionally sets the C(seuser) type C(user_u) on SELinux enabled systems.
type: str type: str
version_added: "2.1" version_added: "2.1"
group: group:
description: description:
- Optionally sets the user's primary group (takes a group name). - Optionally sets the user's primary group (takes a group name).
- On macOS, this defaults to V('staff') - On macOS, this defaults to V(staff).
type: str type: str
groups: groups:
description: description:
@ -96,7 +96,7 @@ options:
- To create an account with a locked/disabled password on OpenBSD, set this to V('*************'). - To create an account with a locked/disabled password on OpenBSD, set this to V('*************').
- B(OS X/macOS:) Enter the cleartext password as the value. Be sure to take relevant security precautions. - B(OS X/macOS:) Enter the cleartext password as the value. Be sure to take relevant security precautions.
- On macOS, the password specified in the C(password) option will always be set, regardless of whether the user account already exists or not. - On macOS, the password specified in the C(password) option will always be set, regardless of whether the user account already exists or not.
- When the password is passed as an argument, the C(user) module will always return changed to C(true) for macOS systems. - When the password is passed as an argument, the M(ansible.builtin.user) module will always return changed to C(true) for macOS systems.
Since macOS no longer provides access to the hashed passwords directly. Since macOS no longer provides access to the hashed passwords directly.
type: str type: str
state: state:
@ -154,7 +154,7 @@ options:
ssh_key_bits: ssh_key_bits:
description: description:
- Optionally specify number of bits in SSH key to create. - Optionally specify number of bits in SSH key to create.
- The default value depends on ssh-keygen. - The default value depends on C(ssh-keygen).
type: int type: int
version_added: "0.9" version_added: "0.9"
ssh_key_type: ssh_key_type:
@ -205,7 +205,7 @@ options:
- Lock the password (C(usermod -L), C(usermod -U), C(pw lock)). - Lock the password (C(usermod -L), C(usermod -U), C(pw lock)).
- Implementation differs by platform. This option does not always mean the user cannot login using other methods. - Implementation differs by platform. This option does not always mean the user cannot login using other methods.
- This option does not disable the user, only lock the password. - This option does not disable the user, only lock the password.
- This must be set to V(False) in order to unlock a currently locked password. The absence of this parameter will not unlock a password. - This must be set to V(false) in order to unlock a currently locked password. The absence of this parameter will not unlock a password.
- Currently supported on Linux, FreeBSD, DragonFlyBSD, NetBSD, OpenBSD. - Currently supported on Linux, FreeBSD, DragonFlyBSD, NetBSD, OpenBSD.
type: bool type: bool
version_added: "2.6" version_added: "2.6"
@ -266,7 +266,7 @@ options:
description: description:
- Sets the umask of the user. - Sets the umask of the user.
- Currently supported on Linux. Does nothing when used with other platforms. - Currently supported on Linux. Does nothing when used with other platforms.
- Requires O(local) is omitted or V(False). - Requires O(local) is omitted or V(false).
type: str type: str
version_added: "2.12" version_added: "2.12"
password_expire_account_disable: password_expire_account_disable:

@ -16,11 +16,11 @@ version_added: "2.11"
options: options:
argument_spec: argument_spec:
description: description:
- A dictionary like AnsibleModule argument_spec. See R(argument spec definition,argument_spec) - A dictionary like AnsibleModule argument_spec. See R(argument spec definition,argument_spec).
required: true required: true
provided_arguments: provided_arguments:
description: description:
- A dictionary of the arguments that will be validated according to argument_spec - A dictionary of the arguments that will be validated according to argument_spec.
author: author:
- Ansible Core Team - Ansible Core Team
extends_documentation_fragment: extends_documentation_fragment:

@ -14,7 +14,8 @@ description:
- Waits for a total of O(timeout) seconds. - Waits for a total of O(timeout) seconds.
- Retries the transport connection after a timeout of O(connect_timeout). - Retries the transport connection after a timeout of O(connect_timeout).
- Tests the transport connection every O(sleep) seconds. - Tests the transport connection every O(sleep) seconds.
- This module makes use of internal ansible transport (and configuration) and the ping/win_ping module to guarantee correct end-to-end functioning. - This module makes use of internal ansible transport (and configuration) and the M(ansible.builtin.ping)/M(ansible.windows.win_ping)
modules to guarantee correct end-to-end functioning.
- This module is also supported for Windows targets. - This module is also supported for Windows targets.
version_added: '2.3' version_added: '2.3'
options: options:

@ -23,7 +23,7 @@ options:
repo in parallel, if possible. repo in parallel, if possible.
- In ansible-core 2.11, 2.12, and 2.13 the default value is V(true). - In ansible-core 2.11, 2.12, and 2.13 the default value is V(true).
- This option has been removed in RHEL 8. If you're using one of the - This option has been removed in RHEL 8. If you're using one of the
versions listed above, you can set this option to None to avoid passing an versions listed above, you can set this option to V(null) to avoid passing an
unknown configuration option. unknown configuration option.
- This parameter is deprecated as it has been removed on systems supported by ansible-core - This parameter is deprecated as it has been removed on systems supported by ansible-core
and will be removed in ansible-core 2.22. and will be removed in ansible-core 2.22.
@ -76,8 +76,8 @@ options:
type: str type: str
description: description:
description: description:
- A human-readable string describing the repository. This option corresponds to the "name" property in the repo file. - A human-readable string describing the repository. This option corresponds to the C(name) property in the repo file.
- This parameter is only required if O(state) is set to V(present). - This parameter is only required if O(state=present).
type: str type: str
enabled: enabled:
description: description:
@ -96,7 +96,7 @@ options:
space separated list. Shell globs using wildcards (for example V(*) and V(?)) space separated list. Shell globs using wildcards (for example V(*) and V(?))
are allowed. are allowed.
- The list can also be a regular YAML array. - The list can also be a regular YAML array.
- excludepkgs alias was added in ansible-core 2.18 - O(excludepkgs) alias was added in ansible-core 2.18.
type: list type: list
elements: str elements: str
aliases: aliases:
@ -137,7 +137,7 @@ options:
module_hotfixes: module_hotfixes:
description: description:
- Disable module RPM filtering and make all RPMs from the repository - Disable module RPM filtering and make all RPMs from the repository
available. The default is V(None). available. The default is V(null).
version_added: '2.11' version_added: '2.11'
type: bool type: bool
http_caching: http_caching:
@ -213,7 +213,7 @@ options:
- V(read-only:future) - Commands that are likely to result in running - V(read-only:future) - Commands that are likely to result in running
other commands which will require the latest metadata. Eg. other commands which will require the latest metadata. Eg.
C(yum check-update). C(yum check-update).
- Note that this option does not override "yum clean expire-cache". - Note that this option does not override C(yum clean expire-cache).
- This parameter is deprecated as it has no effect with dnf as an underlying package manager - This parameter is deprecated as it has no effect with dnf as an underlying package manager
and will be removed in ansible-core 2.22. and will be removed in ansible-core 2.22.
choices: [never, 'read-only:past', 'read-only:present', 'read-only:future'] choices: [never, 'read-only:past', 'read-only:present', 'read-only:future']

Loading…
Cancel
Save