mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
fix markup (#11147)
* fix markup for common return values * Apply suggestion from review
This commit is contained in:
parent
255059f7b3
commit
183aa6ed6b
17 changed files with 20 additions and 20 deletions
|
|
@ -81,7 +81,7 @@ options:
|
||||||
force:
|
force:
|
||||||
description:
|
description:
|
||||||
- Force overwriting existing roles and/or collections.
|
- Force overwriting existing roles and/or collections.
|
||||||
- It can be used for upgrading, but the module output always reports C(changed=true).
|
- It can be used for upgrading, but the module output always reports RV(ignore:changed=true).
|
||||||
- Using O(force=true) is mandatory when downgrading.
|
- Using O(force=true) is mandatory when downgrading.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ options:
|
||||||
choices: [absent, present]
|
choices: [absent, present]
|
||||||
notes:
|
notes:
|
||||||
- Check mode is supported.
|
- Check mode is supported.
|
||||||
- For secured values return parameter C(changed) is always V(true).
|
- For secured values return parameter RV(ignore:changed) is always V(true).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = r"""
|
EXAMPLES = r"""
|
||||||
|
|
|
||||||
|
|
@ -69,16 +69,16 @@ options:
|
||||||
- If V(false), it ensures the dependencies declared as suggests are not installed, overriding any decision made earlier
|
- If V(false), it ensures the dependencies declared as suggests are not installed, overriding any decision made earlier
|
||||||
in E(PERL_CPANM_OPT).
|
in E(PERL_CPANM_OPT).
|
||||||
- If parameter is not set, C(cpanm) uses its existing defaults.
|
- If parameter is not set, C(cpanm) uses its existing defaults.
|
||||||
- When these dependencies fail to install, cpanm continues the installation, since they are just suggestion.
|
- When these dependencies fail to install, C(cpanm) continues the installation, since they are just suggestions.
|
||||||
type: bool
|
type: bool
|
||||||
version_added: 10.3.0
|
version_added: 10.3.0
|
||||||
version:
|
version:
|
||||||
description:
|
description:
|
||||||
- Version specification for the perl module. When O(mode) is V(new), C(cpanm) version operators are accepted.
|
- Version specification for the perl module. When O(mode=new), C(cpanm) version operators are accepted.
|
||||||
type: str
|
type: str
|
||||||
executable:
|
executable:
|
||||||
description:
|
description:
|
||||||
- Override the path to the cpanm executable.
|
- Override the path to the C(cpanm) executable.
|
||||||
type: path
|
type: path
|
||||||
mode:
|
mode:
|
||||||
description:
|
description:
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ options:
|
||||||
force:
|
force:
|
||||||
description:
|
description:
|
||||||
- Whether or not to overwrite the file if it exists, in other words, to truncate it from 0. When V(true), the module
|
- Whether or not to overwrite the file if it exists, in other words, to truncate it from 0. When V(true), the module
|
||||||
is not idempotent, that means it always reports C(changed=true).
|
is not idempotent, that means it always reports RV(ignore:changed=true).
|
||||||
- O(force=true) and O(sparse=true) are mutually exclusive.
|
- O(force=true) and O(sparse=true) are mutually exclusive.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ options:
|
||||||
default: "present"
|
default: "present"
|
||||||
notes:
|
notes:
|
||||||
- E(HEROKU_API_KEY) and E(TF_VAR_HEROKU_API_KEY) environment variables can be used instead setting O(api_key).
|
- E(HEROKU_API_KEY) and E(TF_VAR_HEROKU_API_KEY) environment variables can be used instead setting O(api_key).
|
||||||
- If you use C(check_mode), you can also pass the C(-v) flag to see affected apps in C(msg), for example C(["heroku-example-app"]).
|
- If you use C(check_mode), you can also pass the C(-v) flag to see affected apps in RV(ignore:msg), for example C(["heroku-example-app"]).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = r"""
|
EXAMPLES = r"""
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ description:
|
||||||
This sends an email with one or more required actions the user must complete (for example resetting the password).
|
This sends an email with one or more required actions the user must complete (for example resetting the password).
|
||||||
- If no O(actions) list is provided, the default action C(UPDATE_PASSWORD) is used.
|
- If no O(actions) list is provided, the default action C(UPDATE_PASSWORD) is used.
|
||||||
- You must supply either the user's O(id) or O(username). Supplying only C(username) causes an extra lookup call.
|
- You must supply either the user's O(id) or O(username). Supplying only C(username) causes an extra lookup call.
|
||||||
- This module always reports C(changed=true) because sending an email is a side effect and cannot be made idempotent.
|
- This module always reports RV(ignore:changed=true) because sending an email is a side effect and cannot be made idempotent.
|
||||||
attributes:
|
attributes:
|
||||||
check_mode:
|
check_mode:
|
||||||
support: full
|
support: full
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ notes:
|
||||||
the command executed, and then the container V(stopped) again. Likewise if O(state=stopped) and the container does not
|
the command executed, and then the container V(stopped) again. Likewise if O(state=stopped) and the container does not
|
||||||
exist it is first created, V(started), the command executed, and then V(stopped). If you use a C(|) in the variable you
|
exist it is first created, V(started), the command executed, and then V(stopped). If you use a C(|) in the variable you
|
||||||
can use common script formatting within the variable itself. The O(container_command) option always execute as C(bash).
|
can use common script formatting within the variable itself. The O(container_command) option always execute as C(bash).
|
||||||
When using O(container_command), a log file is created in the C(/tmp/) directory which contains both C(stdout) and C(stderr)
|
When using O(container_command), a log file is created in the C(/tmp/) directory which contains both RV(ignore:stdout) and RV(ignore:stderr)
|
||||||
of any command executed.
|
of any command executed.
|
||||||
- If O(archive=true) the system attempts to create a compressed tarball of the running container. The O(archive) option
|
- If O(archive=true) the system attempts to create a compressed tarball of the running container. The O(archive) option
|
||||||
supports LVM backed containers and creates a snapshot of the running container when creating the archive.
|
supports LVM backed containers and creates a snapshot of the running container when creating the archive.
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ attributes:
|
||||||
check_mode:
|
check_mode:
|
||||||
support: partial
|
support: partial
|
||||||
details:
|
details:
|
||||||
- Note that check mode always returns C(changed=true) for existing templates, even if the template would not actually
|
- Note that check mode always returns RV(ignore:changed=true) for existing templates, even if the template would not actually
|
||||||
change.
|
change.
|
||||||
diff_mode:
|
diff_mode:
|
||||||
support: none
|
support: none
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ attributes:
|
||||||
check_mode:
|
check_mode:
|
||||||
support: partial
|
support: partial
|
||||||
details:
|
details:
|
||||||
- Note that check mode always returns C(changed=true) for existing networks, even if the network would not actually
|
- Note that check mode always returns RV(ignore:changed=true) for existing networks, even if the network would not actually
|
||||||
change.
|
change.
|
||||||
diff_mode:
|
diff_mode:
|
||||||
support: none
|
support: none
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ options:
|
||||||
- Whether or not to refresh the master package lists.
|
- Whether or not to refresh the master package lists.
|
||||||
- This can be run as part of a package installation or as a separate step.
|
- This can be run as part of a package installation or as a separate step.
|
||||||
- If not specified, it defaults to V(false).
|
- If not specified, it defaults to V(false).
|
||||||
- Please note that this option only had an influence on the module's C(changed) state if O(name) and O(upgrade) are
|
- Please note that this option only had an influence on the module's RV(ignore:changed) state if O(name) and O(upgrade) are
|
||||||
not specified before community.general 5.0.0. See the examples for how to keep the old behavior.
|
not specified before community.general 5.0.0. See the examples for how to keep the old behavior.
|
||||||
type: bool
|
type: bool
|
||||||
|
|
||||||
|
|
@ -128,7 +128,7 @@ notes:
|
||||||
- 'In the tests, while using C(yay) as the O(executable) option, the module failed to install AUR packages with the error:
|
- 'In the tests, while using C(yay) as the O(executable) option, the module failed to install AUR packages with the error:
|
||||||
C(error: target not found: <pkg>). This is caused by an incompatibility of yay with the arguments passed by this module.
|
C(error: target not found: <pkg>). This is caused by an incompatibility of yay with the arguments passed by this module.
|
||||||
See L(yay bug #1744 report for details, https://github.com/Jguer/yay/issues/1744).'
|
See L(yay bug #1744 report for details, https://github.com/Jguer/yay/issues/1744).'
|
||||||
- The common return values C(stdout) and C(stderr) are returned upon success, when needed, since community.general 4.1.0.
|
- The common return values RV(ignore:stdout) and RV(ignore:stderr) are returned upon success, when needed, since community.general 4.1.0.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
RETURN = r"""
|
RETURN = r"""
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ attributes:
|
||||||
check_mode:
|
check_mode:
|
||||||
support: full
|
support: full
|
||||||
details:
|
details:
|
||||||
- Check mode simply does nothing except returning C(changed=true) in case the O(url) seems to be correct.
|
- Check mode simply does nothing except returning RV(ignore:changed=true) in case the O(url) seems to be correct.
|
||||||
diff_mode:
|
diff_mode:
|
||||||
support: none
|
support: none
|
||||||
options:
|
options:
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Where the puppet logs should go, if puppet apply is being used.
|
- Where the puppet logs should go, if puppet apply is being used.
|
||||||
- V(all) goes to both C(console) and C(syslog).
|
- V(all) goes to both C(console) and C(syslog).
|
||||||
- V(stdout) is deprecated and replaced by C(console).
|
- V(stdout) is deprecated and replaced by C(console). # TODO which/where is console?
|
||||||
type: str
|
type: str
|
||||||
choices: [all, stdout, syslog]
|
choices: [all, stdout, syslog]
|
||||||
default: stdout
|
default: stdout
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ options:
|
||||||
secret_environment_variables:
|
secret_environment_variables:
|
||||||
description:
|
description:
|
||||||
- Secret environment variables of the container namespace.
|
- Secret environment variables of the container namespace.
|
||||||
- Updating those values does not output a C(changed) state in Ansible.
|
- Updating those values does not output a RV(ignore:changed) state in Ansible.
|
||||||
- Injected in container at runtime.
|
- Injected in container at runtime.
|
||||||
type: dict
|
type: dict
|
||||||
default: {}
|
default: {}
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ options:
|
||||||
secret_environment_variables:
|
secret_environment_variables:
|
||||||
description:
|
description:
|
||||||
- Secret environment variables of the container namespace.
|
- Secret environment variables of the container namespace.
|
||||||
- Updating those values does not output a C(changed) state in Ansible.
|
- Updating those values does not output a RV(ignore:changed) state in Ansible.
|
||||||
- Injected in containers at runtime.
|
- Injected in containers at runtime.
|
||||||
type: dict
|
type: dict
|
||||||
default: {}
|
default: {}
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ options:
|
||||||
secret_environment_variables:
|
secret_environment_variables:
|
||||||
description:
|
description:
|
||||||
- Secret environment variables of the function.
|
- Secret environment variables of the function.
|
||||||
- Updating those values does not output a C(changed) state in Ansible.
|
- Updating those values does not output a RV(ignore:changed) state in Ansible.
|
||||||
- Injected in function at runtime.
|
- Injected in function at runtime.
|
||||||
type: dict
|
type: dict
|
||||||
default: {}
|
default: {}
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ options:
|
||||||
secret_environment_variables:
|
secret_environment_variables:
|
||||||
description:
|
description:
|
||||||
- Secret environment variables of the function namespace.
|
- Secret environment variables of the function namespace.
|
||||||
- Updating those values does not output a C(changed) state in Ansible.
|
- Updating those values does not output a RV(ignore:changed) state in Ansible.
|
||||||
- Injected in functions at runtime.
|
- Injected in functions at runtime.
|
||||||
type: dict
|
type: dict
|
||||||
default: {}
|
default: {}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ author:
|
||||||
- Patrick Ogenstad (@ogenstad)
|
- Patrick Ogenstad (@ogenstad)
|
||||||
short_description: Retrieve facts for a device using SNMP
|
short_description: Retrieve facts for a device using SNMP
|
||||||
description:
|
description:
|
||||||
- Retrieve facts for a device using SNMP, the facts are inserted to the C(ansible_facts) key.
|
- Retrieve facts for a device using SNMP, the facts are inserted to the RV(ignore:ansible_facts) key.
|
||||||
requirements:
|
requirements:
|
||||||
- pysnmp
|
- pysnmp
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue