Start using semantic markup (#6627)
* Start using semantic markup. * Forgot some places. * Fix typo. * Use 'ignore:' prefix until https://github.com/ansible-community/antsibull-docs/pull/155 is out. * Break too long line.pull/6665/head
parent
eddd1ba4f2
commit
011b2f8bdc
|
@ -68,7 +68,7 @@ DOCUMENTATION = '''
|
||||||
- section: machinectl_become_plugin
|
- section: machinectl_become_plugin
|
||||||
key: password
|
key: password
|
||||||
notes:
|
notes:
|
||||||
- When not using this plugin with user C(root), it only works correctly with a polkit rule which will alter
|
- When not using this plugin with user V(root), it only works correctly with a polkit rule which will alter
|
||||||
the behaviour of machinectl. This rule must alter the prompt behaviour to ask directly for the user credentials,
|
the behaviour of machinectl. This rule must alter the prompt behaviour to ask directly for the user credentials,
|
||||||
if the user is allowed to perform the action (take a look at the examples section).
|
if the user is allowed to perform the action (take a look at the examples section).
|
||||||
If such a rule is not present the plugin only work if it is used in context with the root user,
|
If such a rule is not present the plugin only work if it is used in context with the root user,
|
||||||
|
|
|
@ -82,7 +82,7 @@ DOCUMENTATION = '''
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_PFEXEC_WRAP_EXECUTION
|
- name: ANSIBLE_PFEXEC_WRAP_EXECUTION
|
||||||
notes:
|
notes:
|
||||||
- This plugin ignores I(become_user) as pfexec uses it's own C(exec_attr) to figure this out.
|
- This plugin ignores O(become_user) as pfexec uses it's own C(exec_attr) to figure this out.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
from ansible.plugins.become import BecomeBase
|
from ansible.plugins.become import BecomeBase
|
||||||
|
|
|
@ -18,9 +18,9 @@ DOCUMENTATION = '''
|
||||||
_uri:
|
_uri:
|
||||||
description:
|
description:
|
||||||
- A colon separated string of connection information for Redis.
|
- A colon separated string of connection information for Redis.
|
||||||
- The format is C(host:port:db:password), for example C(localhost:6379:0:changeme).
|
- The format is V(host:port:db:password), for example V(localhost:6379:0:changeme).
|
||||||
- To use encryption in transit, prefix the connection with C(tls://), as in C(tls://localhost:6379:0:changeme).
|
- To use encryption in transit, prefix the connection with V(tls://), as in V(tls://localhost:6379:0:changeme).
|
||||||
- To use redis sentinel, use separator C(;), for example C(localhost:26379;localhost:26379;0:changeme). Requires redis>=2.9.0.
|
- To use redis sentinel, use separator V(;), for example V(localhost:26379;localhost:26379;0:changeme). Requires redis>=2.9.0.
|
||||||
required: true
|
required: true
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION
|
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION
|
||||||
|
|
|
@ -24,7 +24,7 @@ DOCUMENTATION = '''
|
||||||
options:
|
options:
|
||||||
max_mem_file:
|
max_mem_file:
|
||||||
required: true
|
required: true
|
||||||
description: Path to cgroups C(memory.max_usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.max_usage_in_bytes).
|
description: Path to cgroups C(memory.max_usage_in_bytes) file. Example V(/sys/fs/cgroup/memory/ansible_profile/memory.max_usage_in_bytes).
|
||||||
env:
|
env:
|
||||||
- name: CGROUP_MAX_MEM_FILE
|
- name: CGROUP_MAX_MEM_FILE
|
||||||
ini:
|
ini:
|
||||||
|
@ -32,7 +32,7 @@ DOCUMENTATION = '''
|
||||||
key: max_mem_file
|
key: max_mem_file
|
||||||
cur_mem_file:
|
cur_mem_file:
|
||||||
required: true
|
required: true
|
||||||
description: Path to C(memory.usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.usage_in_bytes).
|
description: Path to C(memory.usage_in_bytes) file. Example V(/sys/fs/cgroup/memory/ansible_profile/memory.usage_in_bytes).
|
||||||
env:
|
env:
|
||||||
- name: CGROUP_CUR_MEM_FILE
|
- name: CGROUP_CUR_MEM_FILE
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -18,7 +18,7 @@ DOCUMENTATION = r'''
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- default_callback
|
- default_callback
|
||||||
notes:
|
notes:
|
||||||
- Uses the C(default) callback plugin output when a custom callback message(C(msg)) is not provided.
|
- Uses the P(ansible.builtin.default#callback) callback plugin output when a custom callback V(message(msg\)) is not provided.
|
||||||
- Makes the callback event data available via the C(ansible_callback_diy) dictionary, which can be used in the templating context for the options.
|
- Makes the callback event data available via the C(ansible_callback_diy) dictionary, which can be used in the templating context for the options.
|
||||||
The dictionary is only available in the templating context for the options. It is not a variable that is available via the other
|
The dictionary is only available in the templating context for the options. It is not a variable that is available via the other
|
||||||
various execution contexts, such as playbook, play, task etc.
|
various execution contexts, such as playbook, play, task etc.
|
||||||
|
@ -40,8 +40,8 @@ DOCUMENTATION = r'''
|
||||||
if value C(is not None and not omit and length is greater than 0),
|
if value C(is not None and not omit and length is greater than 0),
|
||||||
then the option is being used with output.
|
then the option is being used with output.
|
||||||
**Effect**: render value as template and output"
|
**Effect**: render value as template and output"
|
||||||
- "Valid color values: C(black), C(bright gray), C(blue), C(white), C(green), C(bright blue), C(cyan), C(bright green), C(red), C(bright cyan),
|
- "Valid color values: V(black), V(bright gray), V(blue), V(white), V(green), V(bright blue), V(cyan), V(bright green), V(red), V(bright cyan),
|
||||||
C(purple), C(bright red), C(yellow), C(bright purple), C(dark gray), C(bright yellow), C(magenta), C(bright magenta), C(normal)"
|
V(purple), V(bright red), V(yellow), V(bright purple), V(dark gray), V(bright yellow), V(magenta), V(bright magenta), V(normal)"
|
||||||
seealso:
|
seealso:
|
||||||
- name: default – default Ansible screen output
|
- name: default – default Ansible screen output
|
||||||
description: The official documentation on the B(default) callback plugin.
|
description: The official documentation on the B(default) callback plugin.
|
||||||
|
@ -62,7 +62,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
on_any_msg_color:
|
on_any_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(on_any_msg).
|
- Output color to be used for O(on_any_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -86,7 +86,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_on_failed_msg_color:
|
runner_on_failed_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_on_failed_msg).
|
- Output color to be used for O(runner_on_failed_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -110,7 +110,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_on_ok_msg_color:
|
runner_on_ok_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_on_ok_msg).
|
- Output color to be used for O(runner_on_ok_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -134,7 +134,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_on_skipped_msg_color:
|
runner_on_skipped_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_on_skipped_msg).
|
- Output color to be used for O(runner_on_skipped_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -158,7 +158,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_on_unreachable_msg_color:
|
runner_on_unreachable_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_on_unreachable_msg).
|
- Output color to be used for O(runner_on_unreachable_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -182,7 +182,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_start_msg_color:
|
playbook_on_start_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_start_msg).
|
- Output color to be used for O(playbook_on_start_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -206,7 +206,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_notify_msg_color:
|
playbook_on_notify_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_notify_msg).
|
- Output color to be used for O(playbook_on_notify_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -230,7 +230,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_no_hosts_matched_msg_color:
|
playbook_on_no_hosts_matched_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_no_hosts_matched_msg).
|
- Output color to be used for O(playbook_on_no_hosts_matched_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -254,7 +254,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_no_hosts_remaining_msg_color:
|
playbook_on_no_hosts_remaining_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_no_hosts_remaining_msg).
|
- Output color to be used for O(playbook_on_no_hosts_remaining_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -278,7 +278,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_task_start_msg_color:
|
playbook_on_task_start_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_task_start_msg).
|
- Output color to be used for O(playbook_on_task_start_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -302,7 +302,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_handler_task_start_msg_color:
|
playbook_on_handler_task_start_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_handler_task_start_msg).
|
- Output color to be used for O(playbook_on_handler_task_start_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -326,7 +326,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_vars_prompt_msg_color:
|
playbook_on_vars_prompt_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_vars_prompt_msg).
|
- Output color to be used for O(playbook_on_vars_prompt_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -350,7 +350,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_play_start_msg_color:
|
playbook_on_play_start_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_play_start_msg).
|
- Output color to be used for O(playbook_on_play_start_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -374,7 +374,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_stats_msg_color:
|
playbook_on_stats_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_stats_msg).
|
- Output color to be used for O(playbook_on_stats_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -398,7 +398,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
on_file_diff_msg_color:
|
on_file_diff_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(on_file_diff_msg).
|
- Output color to be used for O(on_file_diff_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -422,7 +422,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_include_msg_color:
|
playbook_on_include_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_include_msg).
|
- Output color to be used for O(playbook_on_include_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -446,7 +446,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_item_on_ok_msg_color:
|
runner_item_on_ok_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_item_on_ok_msg).
|
- Output color to be used for O(runner_item_on_ok_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -470,7 +470,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_item_on_failed_msg_color:
|
runner_item_on_failed_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_item_on_failed_msg).
|
- Output color to be used for O(runner_item_on_failed_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -494,7 +494,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_item_on_skipped_msg_color:
|
runner_item_on_skipped_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_item_on_skipped_msg).
|
- Output color to be used for O(runner_item_on_skipped_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -518,7 +518,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_retry_msg_color:
|
runner_retry_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_retry_msg).
|
- Output color to be used for O(runner_retry_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -542,7 +542,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_on_start_msg_color:
|
runner_on_start_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_on_start_msg).
|
- Output color to be used for O(runner_on_start_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -566,7 +566,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
runner_on_no_hosts_msg_color:
|
runner_on_no_hosts_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(runner_on_no_hosts_msg).
|
- Output color to be used for O(runner_on_no_hosts_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
@ -590,7 +590,7 @@ DOCUMENTATION = r'''
|
||||||
|
|
||||||
playbook_on_setup_msg_color:
|
playbook_on_setup_msg_color:
|
||||||
description:
|
description:
|
||||||
- Output color to be used for I(playbook_on_setup_msg).
|
- Output color to be used for O(playbook_on_setup_msg).
|
||||||
- Template should render a L(valid color value,#notes).
|
- Template should render a L(valid color value,#notes).
|
||||||
ini:
|
ini:
|
||||||
- section: callback_diy
|
- section: callback_diy
|
||||||
|
|
|
@ -32,10 +32,10 @@ DOCUMENTATION = '''
|
||||||
enable_from_environment:
|
enable_from_environment:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- Whether to enable this callback only if the given environment variable exists and it is set to C(true).
|
- Whether to enable this callback only if the given environment variable exists and it is set to V(true).
|
||||||
- This is handy when you use Configuration as Code and want to send distributed traces
|
- This is handy when you use Configuration as Code and want to send distributed traces
|
||||||
if running in the CI rather when running Ansible locally.
|
if running in the CI rather when running Ansible locally.
|
||||||
- For such, it evaluates the given I(enable_from_environment) value as environment variable
|
- For such, it evaluates the given O(enable_from_environment) value as environment variable
|
||||||
and if set to true this plugin will be enabled.
|
and if set to true this plugin will be enabled.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_OPENTELEMETRY_ENABLE_FROM_ENVIRONMENT
|
- name: ANSIBLE_OPENTELEMETRY_ENABLE_FROM_ENVIRONMENT
|
||||||
|
|
|
@ -36,8 +36,8 @@ DOCUMENTATION = '''
|
||||||
key: authtoken
|
key: authtoken
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description: Whether to validate certificates for connections to HEC. It is not recommended to set to
|
description: Whether to validate certificates for connections to HEC. It is not recommended to set to
|
||||||
C(false) except when you are sure that nobody can intercept the connection
|
V(false) except when you are sure that nobody can intercept the connection
|
||||||
between this plugin and HEC, as setting it to C(false) allows man-in-the-middle attacks!
|
between this plugin and HEC, as setting it to V(false) allows man-in-the-middle attacks!
|
||||||
env:
|
env:
|
||||||
- name: SPLUNK_VALIDATE_CERTS
|
- name: SPLUNK_VALIDATE_CERTS
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r'''
|
||||||
name: sumologic
|
name: sumologic
|
||||||
type: notification
|
type: notification
|
||||||
short_description: Sends task result events to Sumologic
|
short_description: Sends task result events to Sumologic
|
||||||
|
@ -15,8 +15,8 @@ description:
|
||||||
- This callback plugin will send task results as JSON formatted events to a Sumologic HTTP collector source.
|
- This callback plugin will send task results as JSON formatted events to a Sumologic HTTP collector source.
|
||||||
requirements:
|
requirements:
|
||||||
- Whitelisting this callback plugin
|
- Whitelisting this callback plugin
|
||||||
- 'Create a HTTP collector source in Sumologic and specify a custom timestamp format of C(yyyy-MM-dd HH:mm:ss ZZZZ) and a custom timestamp locator
|
- 'Create a HTTP collector source in Sumologic and specify a custom timestamp format of V(yyyy-MM-dd HH:mm:ss ZZZZ) and a custom timestamp locator
|
||||||
of C("timestamp": "(.*)")'
|
of V("timestamp": "(.*\)")'
|
||||||
options:
|
options:
|
||||||
url:
|
url:
|
||||||
description: URL to the Sumologic HTTP collector source.
|
description: URL to the Sumologic HTTP collector source.
|
||||||
|
|
|
@ -41,8 +41,8 @@ options:
|
||||||
alicloud_assume_role:
|
alicloud_assume_role:
|
||||||
description:
|
description:
|
||||||
- If provided with a role ARN, Ansible will attempt to assume this role using the supplied credentials.
|
- If provided with a role ARN, Ansible will attempt to assume this role using the supplied credentials.
|
||||||
- The nested assume_role block supports I(alicloud_assume_role_arn), I(alicloud_assume_role_session_name),
|
- The nested assume_role block supports C(alicloud_assume_role_arn), C(alicloud_assume_role_session_name),
|
||||||
I(alicloud_assume_role_session_expiration) and I(alicloud_assume_role_policy)
|
C(alicloud_assume_role_session_expiration) and C(alicloud_assume_role_policy).
|
||||||
type: dict
|
type: dict
|
||||||
aliases: ['assume_role']
|
aliases: ['assume_role']
|
||||||
alicloud_assume_role_arn:
|
alicloud_assume_role_arn:
|
||||||
|
|
|
@ -27,7 +27,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- The username.
|
- The username.
|
||||||
- If not set the environment variable C(BITBUCKET_USERNAME) will be used.
|
- If not set the environment variable C(BITBUCKET_USERNAME) will be used.
|
||||||
- I(username) is an alias of I(user) since community.genreal 6.0.0. It was an alias of I(workspace) before.
|
- O(ignore:username) is an alias of O(user) since community.general 6.0.0. It was an alias of O(workspace) before.
|
||||||
type: str
|
type: str
|
||||||
version_added: 4.0.0
|
version_added: 4.0.0
|
||||||
aliases: [ username ]
|
aliases: [ username ]
|
||||||
|
|
|
@ -35,7 +35,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- The password used to authenticate to the CloudControl API.
|
- The password used to authenticate to the CloudControl API.
|
||||||
- If not specified, will fall back to C(MCP_PASSWORD) from environment variable or C(~/.dimensiondata).
|
- If not specified, will fall back to C(MCP_PASSWORD) from environment variable or C(~/.dimensiondata).
|
||||||
- Required if I(mcp_user) is specified.
|
- Required if O(mcp_user) is specified.
|
||||||
type: str
|
type: str
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
|
@ -44,7 +44,7 @@ options:
|
||||||
required: true
|
required: true
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- If C(false), SSL certificates will not be validated.
|
- If V(false), SSL certificates will not be validated.
|
||||||
- This should only be used on private instances of the CloudControl API that use self-signed certificates.
|
- This should only be used on private instances of the CloudControl API that use self-signed certificates.
|
||||||
type: bool
|
type: bool
|
||||||
default: true
|
default: true
|
||||||
|
|
|
@ -25,13 +25,13 @@ options:
|
||||||
wait_time:
|
wait_time:
|
||||||
description:
|
description:
|
||||||
- The maximum amount of time (in seconds) to wait for the task to complete.
|
- The maximum amount of time (in seconds) to wait for the task to complete.
|
||||||
- Only applicable if I(wait=true).
|
- Only applicable if O(wait=true).
|
||||||
type: int
|
type: int
|
||||||
default: 600
|
default: 600
|
||||||
wait_poll_interval:
|
wait_poll_interval:
|
||||||
description:
|
description:
|
||||||
- The amount of time (in seconds) to wait between checks for task completion.
|
- The amount of time (in seconds) to wait between checks for task completion.
|
||||||
- Only applicable if I(wait=true).
|
- Only applicable if O(wait=true).
|
||||||
type: int
|
type: int
|
||||||
default: 2
|
default: 2
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -22,14 +22,14 @@ options:
|
||||||
username:
|
username:
|
||||||
description:
|
description:
|
||||||
- Username that will be used to authenticate against InfluxDB server.
|
- Username that will be used to authenticate against InfluxDB server.
|
||||||
- Alias C(login_username) added in Ansible 2.5.
|
- Alias O(ignore:login_username) added in Ansible 2.5.
|
||||||
type: str
|
type: str
|
||||||
default: root
|
default: root
|
||||||
aliases: [ login_username ]
|
aliases: [ login_username ]
|
||||||
password:
|
password:
|
||||||
description:
|
description:
|
||||||
- Password that will be used to authenticate against InfluxDB server.
|
- Password that will be used to authenticate against InfluxDB server.
|
||||||
- Alias C(login_password) added in Ansible 2.5.
|
- Alias O(ignore:login_password) added in Ansible 2.5.
|
||||||
type: str
|
type: str
|
||||||
default: root
|
default: root
|
||||||
aliases: [ login_password ]
|
aliases: [ login_password ]
|
||||||
|
@ -47,8 +47,8 @@ options:
|
||||||
version_added: '0.2.0'
|
version_added: '0.2.0'
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- If set to C(false), the SSL certificates will not be validated.
|
- If set to V(false), the SSL certificates will not be validated.
|
||||||
- This should only set to C(false) used on personally controlled sites using self-signed certificates.
|
- This should only set to V(false) used on personally controlled sites using self-signed certificates.
|
||||||
type: bool
|
type: bool
|
||||||
default: true
|
default: true
|
||||||
ssl:
|
ssl:
|
||||||
|
@ -63,7 +63,7 @@ options:
|
||||||
retries:
|
retries:
|
||||||
description:
|
description:
|
||||||
- Number of retries client will try before aborting.
|
- Number of retries client will try before aborting.
|
||||||
- C(0) indicates try until success.
|
- V(0) indicates try until success.
|
||||||
- Only available when using python-influxdb >= 4.1.0
|
- Only available when using python-influxdb >= 4.1.0
|
||||||
type: int
|
type: int
|
||||||
default: 3
|
default: 3
|
||||||
|
|
|
@ -60,9 +60,9 @@ options:
|
||||||
default: https
|
default: https
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- This only applies if C(ipa_prot) is I(https).
|
- This only applies if O(ipa_prot) is V(https).
|
||||||
- If set to C(false), the SSL certificates will not be validated.
|
- If set to V(false), the SSL certificates will not be validated.
|
||||||
- This should only set to C(false) used on personally controlled sites using self-signed certificates.
|
- This should only set to V(false) used on personally controlled sites using self-signed certificates.
|
||||||
type: bool
|
type: bool
|
||||||
default: true
|
default: true
|
||||||
ipa_timeout:
|
ipa_timeout:
|
||||||
|
|
|
@ -23,7 +23,7 @@ options:
|
||||||
|
|
||||||
auth_client_id:
|
auth_client_id:
|
||||||
description:
|
description:
|
||||||
- OpenID Connect I(client_id) to authenticate to the API with.
|
- OpenID Connect C(client_id) to authenticate to the API with.
|
||||||
type: str
|
type: str
|
||||||
default: admin-cli
|
default: admin-cli
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ options:
|
||||||
|
|
||||||
auth_client_secret:
|
auth_client_secret:
|
||||||
description:
|
description:
|
||||||
- Client Secret to use in conjunction with I(auth_client_id) (if required).
|
- Client Secret to use in conjunction with O(auth_client_id) (if required).
|
||||||
type: str
|
type: str
|
||||||
|
|
||||||
auth_username:
|
auth_username:
|
||||||
|
|
|
@ -21,7 +21,7 @@ options:
|
||||||
type: str
|
type: str
|
||||||
bind_pw:
|
bind_pw:
|
||||||
description:
|
description:
|
||||||
- The password to use with I(bind_dn).
|
- The password to use with O(bind_dn).
|
||||||
type: str
|
type: str
|
||||||
default: ''
|
default: ''
|
||||||
ca_path:
|
ca_path:
|
||||||
|
@ -40,12 +40,12 @@ options:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- Set the referrals chasing behavior.
|
- Set the referrals chasing behavior.
|
||||||
- C(anonymous) follow referrals anonymously. This is the default behavior.
|
- V(anonymous) follow referrals anonymously. This is the default behavior.
|
||||||
- C(disabled) disable referrals chasing. This sets C(OPT_REFERRALS) to off.
|
- V(disabled) disable referrals chasing. This sets C(OPT_REFERRALS) to off.
|
||||||
version_added: 2.0.0
|
version_added: 2.0.0
|
||||||
server_uri:
|
server_uri:
|
||||||
description:
|
description:
|
||||||
- The I(server_uri) parameter may be a comma- or whitespace-separated list of URIs containing only the schema, the host, and the port fields.
|
- The O(server_uri) parameter may be a comma- or whitespace-separated list of URIs containing only the schema, the host, and the port fields.
|
||||||
- The default value lets the underlying LDAP client library look for a UNIX domain socket in its default location.
|
- The default value lets the underlying LDAP client library look for a UNIX domain socket in its default location.
|
||||||
- Note that when using multiple URIs you cannot determine to which URI your client gets connected.
|
- Note that when using multiple URIs you cannot determine to which URI your client gets connected.
|
||||||
- For URIs containing additional fields, particularly when using commas, behavior is undefined.
|
- For URIs containing additional fields, particularly when using commas, behavior is undefined.
|
||||||
|
@ -58,14 +58,13 @@ options:
|
||||||
default: false
|
default: false
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- If set to C(false), SSL certificates will not be validated.
|
- If set to V(false), SSL certificates will not be validated.
|
||||||
- This should only be used on sites using self-signed certificates.
|
- This should only be used on sites using self-signed certificates.
|
||||||
type: bool
|
type: bool
|
||||||
default: true
|
default: true
|
||||||
sasl_class:
|
sasl_class:
|
||||||
description:
|
description:
|
||||||
- The class to use for SASL authentication.
|
- The class to use for SASL authentication.
|
||||||
- Possible choices are C(external), C(gssapi).
|
|
||||||
type: str
|
type: str
|
||||||
choices: ['external', 'gssapi']
|
choices: ['external', 'gssapi']
|
||||||
default: external
|
default: external
|
||||||
|
@ -73,10 +72,9 @@ options:
|
||||||
xorder_discovery:
|
xorder_discovery:
|
||||||
description:
|
description:
|
||||||
- Set the behavior on how to process Xordered DNs.
|
- Set the behavior on how to process Xordered DNs.
|
||||||
- C(enable) will perform a C(ONELEVEL) search below the superior RDN to find the matching DN.
|
- V(enable) will perform a C(ONELEVEL) search below the superior RDN to find the matching DN.
|
||||||
- C(disable) will always use the DN unmodified (as passed by the I(dn) parameter).
|
- V(disable) will always use the DN unmodified (as passed by the O(dn) parameter).
|
||||||
- C(auto) will only perform a search if the first RDN does not contain an index number (C({x})).
|
- V(auto) will only perform a search if the first RDN does not contain an index number (C({x})).
|
||||||
- Possible choices are C(enable), C(auto), C(disable).
|
|
||||||
type: str
|
type: str
|
||||||
choices: ['enable', 'auto', 'disable']
|
choices: ['enable', 'auto', 'disable']
|
||||||
default: auto
|
default: auto
|
||||||
|
|
|
@ -21,20 +21,20 @@ options:
|
||||||
suboptions:
|
suboptions:
|
||||||
url:
|
url:
|
||||||
description:
|
description:
|
||||||
- ManageIQ environment url. C(MIQ_URL) env var if set. otherwise, it is required to pass it.
|
- ManageIQ environment URL. C(MIQ_URL) environment variable if set. otherwise, it is required to pass it.
|
||||||
type: str
|
type: str
|
||||||
required: false
|
required: false
|
||||||
username:
|
username:
|
||||||
description:
|
description:
|
||||||
- ManageIQ username. C(MIQ_USERNAME) env var if set. otherwise, required if no token is passed in.
|
- ManageIQ username. C(MIQ_USERNAME) environment variable if set. otherwise, required if no token is passed in.
|
||||||
type: str
|
type: str
|
||||||
password:
|
password:
|
||||||
description:
|
description:
|
||||||
- ManageIQ password. C(MIQ_PASSWORD) env var if set. otherwise, required if no token is passed in.
|
- ManageIQ password. C(MIQ_PASSWORD) environment variable if set. otherwise, required if no token is passed in.
|
||||||
type: str
|
type: str
|
||||||
token:
|
token:
|
||||||
description:
|
description:
|
||||||
- ManageIQ token. C(MIQ_TOKEN) env var if set. otherwise, required if no username or password is passed in.
|
- ManageIQ token. C(MIQ_TOKEN) environment variable if set. otherwise, required if no username or password is passed in.
|
||||||
type: str
|
type: str
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -37,9 +37,9 @@ options:
|
||||||
default: true
|
default: true
|
||||||
notes:
|
notes:
|
||||||
- Also see the API documentation on U(https://console.online.net/en/api/)
|
- Also see the API documentation on U(https://console.online.net/en/api/)
|
||||||
- If C(api_token) is not set within the module, the following
|
- If O(api_token) is not set within the module, the following
|
||||||
environment variables can be used in decreasing order of precedence
|
environment variables can be used in decreasing order of precedence
|
||||||
C(ONLINE_TOKEN), C(ONLINE_API_KEY), C(ONLINE_OAUTH_TOKEN), C(ONLINE_API_TOKEN)
|
C(ONLINE_TOKEN), C(ONLINE_API_KEY), C(ONLINE_OAUTH_TOKEN), C(ONLINE_API_TOKEN)
|
||||||
- If one wants to use a different C(api_url) one can also set the C(ONLINE_API_URL)
|
- If one wants to use a different O(api_url) one can also set the C(ONLINE_API_URL)
|
||||||
environment variable.
|
environment variable.
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -15,26 +15,26 @@ options:
|
||||||
api_url:
|
api_url:
|
||||||
description:
|
description:
|
||||||
- The ENDPOINT URL of the XMLRPC server.
|
- The ENDPOINT URL of the XMLRPC server.
|
||||||
- If not specified then the value of the ONE_URL environment variable, if any, is used.
|
- If not specified then the value of the C(ONE_URL) environment variable, if any, is used.
|
||||||
type: str
|
type: str
|
||||||
aliases:
|
aliases:
|
||||||
- api_endpoint
|
- api_endpoint
|
||||||
api_username:
|
api_username:
|
||||||
description:
|
description:
|
||||||
- The name of the user for XMLRPC authentication.
|
- The name of the user for XMLRPC authentication.
|
||||||
- If not specified then the value of the ONE_USERNAME environment variable, if any, is used.
|
- If not specified then the value of the C(ONE_USERNAME) environment variable, if any, is used.
|
||||||
type: str
|
type: str
|
||||||
api_password:
|
api_password:
|
||||||
description:
|
description:
|
||||||
- The password or token for XMLRPC authentication.
|
- The password or token for XMLRPC authentication.
|
||||||
- If not specified then the value of the ONE_PASSWORD environment variable, if any, is used.
|
- If not specified then the value of the C(ONE_PASSWORD) environment variable, if any, is used.
|
||||||
type: str
|
type: str
|
||||||
aliases:
|
aliases:
|
||||||
- api_token
|
- api_token
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- Whether to validate the SSL certificates or not.
|
- Whether to validate the TLS/SSL certificates or not.
|
||||||
- This parameter is ignored if PYTHONHTTPSVERIFY environment variable is used.
|
- This parameter is ignored if C(PYTHONHTTPSVERIFY) environment variable is used.
|
||||||
type: bool
|
type: bool
|
||||||
default: true
|
default: true
|
||||||
wait_timeout:
|
wait_timeout:
|
||||||
|
|
|
@ -23,7 +23,7 @@ options:
|
||||||
port:
|
port:
|
||||||
description:
|
description:
|
||||||
- Specifies the port to use when building the connection to the remote
|
- Specifies the port to use when building the connection to the remote
|
||||||
device. This value applies to either I(cli) or I(rest). The port
|
device. This value applies to either O(transport=cli) or O(transport=rest). The port
|
||||||
value will default to the appropriate transport common port if
|
value will default to the appropriate transport common port if
|
||||||
none is provided in the task. (cli=22, http=80, https=443). Note
|
none is provided in the task. (cli=22, http=80, https=443). Note
|
||||||
this argument does not affect the SSH transport.
|
this argument does not affect the SSH transport.
|
||||||
|
@ -41,8 +41,8 @@ options:
|
||||||
password:
|
password:
|
||||||
description:
|
description:
|
||||||
- Specifies the password to use to authenticate the connection to
|
- Specifies the password to use to authenticate the connection to
|
||||||
the remote device. This is a common argument used for either I(cli)
|
the remote device. This is a common argument used for either O(transport=cli)
|
||||||
or I(rest) transports. Note this argument does not affect the SSH
|
or O(transport=rest). Note this argument does not affect the SSH
|
||||||
transport. If the value is not specified in the task, the value of
|
transport. If the value is not specified in the task, the value of
|
||||||
environment variable C(ANSIBLE_NET_PASSWORD) will be used instead.
|
environment variable C(ANSIBLE_NET_PASSWORD) will be used instead.
|
||||||
type: str
|
type: str
|
||||||
|
@ -56,8 +56,8 @@ options:
|
||||||
ssh_keyfile:
|
ssh_keyfile:
|
||||||
description:
|
description:
|
||||||
- Specifies the SSH key to use to authenticate the connection to
|
- Specifies the SSH key to use to authenticate the connection to
|
||||||
the remote device. This argument is only used for the I(cli)
|
the remote device. This argument is only used for O(transport=cli).
|
||||||
transports. If the value is not specified in the task, the value of
|
If the value is not specified in the task, the value of
|
||||||
environment variable C(ANSIBLE_NET_SSH_KEYFILE) will be used instead.
|
environment variable C(ANSIBLE_NET_SSH_KEYFILE) will be used instead.
|
||||||
type: path
|
type: path
|
||||||
transport:
|
transport:
|
||||||
|
@ -71,14 +71,14 @@ options:
|
||||||
default: ssh
|
default: ssh
|
||||||
use_ssl:
|
use_ssl:
|
||||||
description:
|
description:
|
||||||
- Configures the I(transport) to use SSL if set to C(true) only when the
|
- Configures the O(transport) to use SSL if set to V(true) only when the
|
||||||
I(transport) argument is configured as rest. If the transport
|
O(transport) argument is configured as rest. If the transport
|
||||||
argument is not I(rest), this value is ignored.
|
argument is not V(rest), this value is ignored.
|
||||||
type: bool
|
type: bool
|
||||||
default: true
|
default: true
|
||||||
provider:
|
provider:
|
||||||
description:
|
description:
|
||||||
- Convenience method that allows all I(openswitch) arguments to be passed as
|
- Convenience method that allows all C(openswitch) arguments to be passed as
|
||||||
a dict object. All constraints (required, choices, etc) must be
|
a dict object. All constraints (required, choices, etc) must be
|
||||||
met either by individual arguments or values in this dict.
|
met either by individual arguments or values in this dict.
|
||||||
type: dict
|
type: dict
|
||||||
|
|
|
@ -23,23 +23,23 @@ class ModuleDocFragment(object):
|
||||||
type: str
|
type: str
|
||||||
config_profile_name:
|
config_profile_name:
|
||||||
description:
|
description:
|
||||||
- The profile to load from the config file referenced by C(config_file_location). If not set, then the
|
- The profile to load from the config file referenced by O(config_file_location). If not set, then the
|
||||||
value of the OCI_CONFIG_PROFILE environment variable, if any, is used. Otherwise, defaults to the
|
value of the OCI_CONFIG_PROFILE environment variable, if any, is used. Otherwise, defaults to the
|
||||||
"DEFAULT" profile in C(config_file_location).
|
"DEFAULT" profile in O(config_file_location).
|
||||||
default: "DEFAULT"
|
default: "DEFAULT"
|
||||||
type: str
|
type: str
|
||||||
api_user:
|
api_user:
|
||||||
description:
|
description:
|
||||||
- The OCID of the user, on whose behalf, OCI APIs are invoked. If not set, then the
|
- The OCID of the user, on whose behalf, OCI APIs are invoked. If not set, then the
|
||||||
value of the OCI_USER_OCID environment variable, if any, is used. This option is required if the user
|
value of the OCI_USER_OCID environment variable, if any, is used. This option is required if the user
|
||||||
is not specified through a configuration file (See C(config_file_location)). To get the user's OCID,
|
is not specified through a configuration file (See O(config_file_location)). To get the user's OCID,
|
||||||
please refer U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm).
|
please refer U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm).
|
||||||
type: str
|
type: str
|
||||||
api_user_fingerprint:
|
api_user_fingerprint:
|
||||||
description:
|
description:
|
||||||
- Fingerprint for the key pair being used. If not set, then the value of the OCI_USER_FINGERPRINT
|
- Fingerprint for the key pair being used. If not set, then the value of the OCI_USER_FINGERPRINT
|
||||||
environment variable, if any, is used. This option is required if the key fingerprint is not
|
environment variable, if any, is used. This option is required if the key fingerprint is not
|
||||||
specified through a configuration file (See C(config_file_location)). To get the key pair's
|
specified through a configuration file (See O(config_file_location)). To get the key pair's
|
||||||
fingerprint value please refer
|
fingerprint value please refer
|
||||||
U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm).
|
U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm).
|
||||||
type: str
|
type: str
|
||||||
|
@ -47,21 +47,21 @@ class ModuleDocFragment(object):
|
||||||
description:
|
description:
|
||||||
- Full path and filename of the private key (in PEM format). If not set, then the value of the
|
- Full path and filename of the private key (in PEM format). If not set, then the value of the
|
||||||
OCI_USER_KEY_FILE variable, if any, is used. This option is required if the private key is
|
OCI_USER_KEY_FILE variable, if any, is used. This option is required if the private key is
|
||||||
not specified through a configuration file (See C(config_file_location)). If the key is encrypted
|
not specified through a configuration file (See O(config_file_location)). If the key is encrypted
|
||||||
with a pass-phrase, the C(api_user_key_pass_phrase) option must also be provided.
|
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:
|
||||||
- Passphrase used by the key referenced in C(api_user_key_file), if it is encrypted. If not set, then
|
- Passphrase used by the key referenced in O(api_user_key_file), if it is encrypted. If not set, then
|
||||||
the value of the OCI_USER_KEY_PASS_PHRASE variable, if any, is used. This option is required if the
|
the value of the OCI_USER_KEY_PASS_PHRASE variable, if any, is used. This option is required if the
|
||||||
key passphrase is not specified through a configuration file (See C(config_file_location)).
|
key passphrase is not specified through a configuration file (See O(config_file_location)).
|
||||||
type: str
|
type: str
|
||||||
auth_type:
|
auth_type:
|
||||||
description:
|
description:
|
||||||
- The type of authentication to use for making API requests. By default C(auth_type="api_key") based
|
- The type of authentication to use for making API requests. By default O(auth_type=api_key) based
|
||||||
authentication is performed and the API key (see I(api_user_key_file)) in your config file will be
|
authentication is performed and the API key (see O(api_user_key_file)) in your config file will be
|
||||||
used. If this 'auth_type' module option is not specified, the value of the OCI_ANSIBLE_AUTH_TYPE,
|
used. If this 'auth_type' module option is not specified, the value of the OCI_ANSIBLE_AUTH_TYPE,
|
||||||
if any, is used. Use C(auth_type="instance_principal") to use instance principal based authentication
|
if any, is used. Use O(auth_type=instance_principal) to use instance principal based authentication
|
||||||
when running ansible playbooks within an OCI compute instance.
|
when running ansible playbooks within an OCI compute instance.
|
||||||
choices: ['api_key', 'instance_principal']
|
choices: ['api_key', 'instance_principal']
|
||||||
default: 'api_key'
|
default: 'api_key'
|
||||||
|
@ -70,14 +70,14 @@ class ModuleDocFragment(object):
|
||||||
description:
|
description:
|
||||||
- OCID of your tenancy. If not set, then the value of the OCI_TENANCY variable, if any, is
|
- OCID of your tenancy. If not set, then the value of the OCI_TENANCY variable, if any, is
|
||||||
used. This option is required if the tenancy OCID is not specified through a configuration file
|
used. This option is required if the tenancy OCID is not specified through a configuration file
|
||||||
(See C(config_file_location)). To get the tenancy OCID, please refer
|
(See O(config_file_location)). To get the tenancy OCID, please refer
|
||||||
U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm)
|
U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm)
|
||||||
type: str
|
type: str
|
||||||
region:
|
region:
|
||||||
description:
|
description:
|
||||||
- The Oracle Cloud Infrastructure region to use for all OCI API requests. If not set, then the
|
- The Oracle Cloud Infrastructure region to use for all OCI API requests. If not set, then the
|
||||||
value of the OCI_REGION variable, if any, is used. This option is required if the region is
|
value of the OCI_REGION variable, if any, is used. This option is required if the region is
|
||||||
not specified through a configuration file (See C(config_file_location)). Please refer to
|
not specified through a configuration file (See O(config_file_location)). Please refer to
|
||||||
U(https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm) for more information
|
U(https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm) for more information
|
||||||
on OCI regions.
|
on OCI regions.
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -14,13 +14,13 @@ class ModuleDocFragment(object):
|
||||||
description: Whether to attempt non-idempotent creation of a resource. By default, create resource is an
|
description: Whether to attempt non-idempotent creation of a resource. By default, create resource is an
|
||||||
idempotent operation, and doesn't create the resource if it already exists. Setting this option
|
idempotent operation, and doesn't create the resource if it already exists. Setting this option
|
||||||
to true, forcefully creates a copy of the resource, even if it already exists.This option is
|
to true, forcefully creates a copy of the resource, even if it already exists.This option is
|
||||||
mutually exclusive with I(key_by).
|
mutually exclusive with O(key_by).
|
||||||
default: false
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
key_by:
|
key_by:
|
||||||
description: The list of comma-separated attributes of this resource which should be used to uniquely
|
description: The list of comma-separated attributes of this resource which should be used to uniquely
|
||||||
identify an instance of the resource. By default, all the attributes of a resource except
|
identify an instance of the resource. By default, all the attributes of a resource except
|
||||||
I(freeform_tags) are used to uniquely identify a resource.
|
O(freeform_tags) are used to uniquely identify a resource.
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -11,7 +11,7 @@ class ModuleDocFragment(object):
|
||||||
DOCUMENTATION = """
|
DOCUMENTATION = """
|
||||||
options:
|
options:
|
||||||
display_name:
|
display_name:
|
||||||
description: Use I(display_name) along with the other options to return only resources that match the given
|
description: Use O(display_name) along with the other options to return only resources that match the given
|
||||||
display name exactly.
|
display name exactly.
|
||||||
type: str
|
type: str
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -11,7 +11,7 @@ class ModuleDocFragment(object):
|
||||||
DOCUMENTATION = """
|
DOCUMENTATION = """
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description: Use I(name) along with the other options to return only resources that match the given name
|
description: Use O(name) along with the other options to return only resources that match the given name
|
||||||
exactly.
|
exactly.
|
||||||
type: str
|
type: str
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -15,12 +15,12 @@ class ModuleDocFragment(object):
|
||||||
default: true
|
default: true
|
||||||
type: bool
|
type: bool
|
||||||
wait_timeout:
|
wait_timeout:
|
||||||
description: Time, in seconds, to wait when I(wait=true).
|
description: Time, in seconds, to wait when O(wait=true).
|
||||||
default: 1200
|
default: 1200
|
||||||
type: int
|
type: int
|
||||||
wait_until:
|
wait_until:
|
||||||
description: The lifecycle state to wait for the resource to transition into when I(wait=true). By default,
|
description: The lifecycle state to wait for the resource to transition into when O(wait=true). By default,
|
||||||
when I(wait=true), we wait for the resource to get into ACTIVE/ATTACHED/AVAILABLE/PROVISIONED/
|
when O(wait=true), we wait for the resource to get into ACTIVE/ATTACHED/AVAILABLE/PROVISIONED/
|
||||||
RUNNING applicable lifecycle state during create operation & to get into DELETED/DETACHED/
|
RUNNING applicable lifecycle state during create operation & to get into DELETED/DETACHED/
|
||||||
TERMINATED lifecycle state during delete operation.
|
TERMINATED lifecycle state during delete operation.
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -38,7 +38,7 @@ options:
|
||||||
default: true
|
default: true
|
||||||
description:
|
description:
|
||||||
- If certificates should be validated or not.
|
- If certificates should be validated or not.
|
||||||
- This should never be set to C(false), except if you are very sure that
|
- This should never be set to V(false), except if you are very sure that
|
||||||
your connection to the server can not be subject to a Man In The Middle
|
your connection to the server can not be subject to a Man In The Middle
|
||||||
attack.
|
attack.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -38,7 +38,7 @@ options:
|
||||||
version_added: 1.3.0
|
version_added: 1.3.0
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- If C(false), SSL certificates will not be validated.
|
- If V(false), SSL certificates will not be validated.
|
||||||
- This should only be used on personally controlled sites using self-signed certificates.
|
- This should only be used on personally controlled sites using self-signed certificates.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
|
@ -55,7 +55,7 @@ options:
|
||||||
node:
|
node:
|
||||||
description:
|
description:
|
||||||
- Proxmox VE node on which to operate.
|
- Proxmox VE node on which to operate.
|
||||||
- Only required for I(state=present).
|
- Only required for O(state=present).
|
||||||
- For every other states it will be autodiscovered.
|
- For every other states it will be autodiscovered.
|
||||||
type: str
|
type: str
|
||||||
pool:
|
pool:
|
||||||
|
|
|
@ -34,7 +34,7 @@ options:
|
||||||
notes:
|
notes:
|
||||||
- This module requires the C(purity_fb) Python library
|
- This module requires the C(purity_fb) Python library
|
||||||
- You must set C(PUREFB_URL) and C(PUREFB_API) environment variables
|
- You must set C(PUREFB_URL) and C(PUREFB_API) environment variables
|
||||||
if I(fb_url) and I(api_token) arguments are not passed to the module directly
|
if O(fb_url) and O(api_token) arguments are not passed to the module directly
|
||||||
requirements:
|
requirements:
|
||||||
- python >= 2.7
|
- python >= 2.7
|
||||||
- purity_fb >= 1.1
|
- purity_fb >= 1.1
|
||||||
|
@ -56,7 +56,7 @@ options:
|
||||||
notes:
|
notes:
|
||||||
- This module requires the C(purestorage) Python library
|
- This module requires the C(purestorage) Python library
|
||||||
- You must set C(PUREFA_URL) and C(PUREFA_API) environment variables
|
- You must set C(PUREFA_URL) and C(PUREFA_API) environment variables
|
||||||
if I(fa_url) and I(api_token) arguments are not passed to the module directly
|
if O(fa_url) and O(api_token) arguments are not passed to the module directly
|
||||||
requirements:
|
requirements:
|
||||||
- python >= 2.7
|
- python >= 2.7
|
||||||
- purestorage
|
- purestorage
|
||||||
|
|
|
@ -15,18 +15,18 @@ class ModuleDocFragment(object):
|
||||||
options:
|
options:
|
||||||
api_key:
|
api_key:
|
||||||
description:
|
description:
|
||||||
- Rackspace API key, overrides I(credentials).
|
- Rackspace API key, overrides O(credentials).
|
||||||
type: str
|
type: str
|
||||||
aliases: [ password ]
|
aliases: [ password ]
|
||||||
credentials:
|
credentials:
|
||||||
description:
|
description:
|
||||||
- File to find the Rackspace credentials in. Ignored if I(api_key) and
|
- File to find the Rackspace credentials in. Ignored if O(api_key) and
|
||||||
I(username) are provided.
|
O(username) are provided.
|
||||||
type: path
|
type: path
|
||||||
aliases: [ creds_file ]
|
aliases: [ creds_file ]
|
||||||
env:
|
env:
|
||||||
description:
|
description:
|
||||||
- Environment as configured in I(~/.pyrax.cfg),
|
- Environment as configured in C(~/.pyrax.cfg),
|
||||||
see U(https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#pyrax-configuration).
|
see U(https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#pyrax-configuration).
|
||||||
type: str
|
type: str
|
||||||
region:
|
region:
|
||||||
|
@ -35,7 +35,7 @@ options:
|
||||||
type: str
|
type: str
|
||||||
username:
|
username:
|
||||||
description:
|
description:
|
||||||
- Rackspace username, overrides I(credentials).
|
- Rackspace username, overrides O(credentials).
|
||||||
type: str
|
type: str
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
|
@ -61,7 +61,7 @@ options:
|
||||||
api_key:
|
api_key:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- Rackspace API key, overrides I(credentials).
|
- Rackspace API key, overrides O(credentials).
|
||||||
aliases: [ password ]
|
aliases: [ password ]
|
||||||
auth_endpoint:
|
auth_endpoint:
|
||||||
type: str
|
type: str
|
||||||
|
@ -71,13 +71,13 @@ options:
|
||||||
credentials:
|
credentials:
|
||||||
type: path
|
type: path
|
||||||
description:
|
description:
|
||||||
- File to find the Rackspace credentials in. Ignored if I(api_key) and
|
- File to find the Rackspace credentials in. Ignored if O(api_key) and
|
||||||
I(username) are provided.
|
O(username) are provided.
|
||||||
aliases: [ creds_file ]
|
aliases: [ creds_file ]
|
||||||
env:
|
env:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- Environment as configured in I(~/.pyrax.cfg),
|
- Environment as configured in C(~/.pyrax.cfg),
|
||||||
see U(https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#pyrax-configuration).
|
see U(https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#pyrax-configuration).
|
||||||
identity_type:
|
identity_type:
|
||||||
type: str
|
type: str
|
||||||
|
@ -99,7 +99,7 @@ options:
|
||||||
username:
|
username:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- Rackspace username, overrides I(credentials).
|
- Rackspace username, overrides O(credentials).
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- Whether or not to require SSL validation of API endpoints.
|
- Whether or not to require SSL validation of API endpoints.
|
||||||
|
|
|
@ -46,8 +46,8 @@ options:
|
||||||
default: true
|
default: true
|
||||||
ca_certs:
|
ca_certs:
|
||||||
description:
|
description:
|
||||||
- Path to root certificates file. If not set and I(tls) is
|
- Path to root certificates file. If not set and O(tls) is
|
||||||
set to C(true), certifi ca-certificates will be used.
|
set to V(true), certifi ca-certificates will be used.
|
||||||
type: str
|
type: str
|
||||||
requirements: [ "redis", "certifi" ]
|
requirements: [ "redis", "certifi" ]
|
||||||
|
|
||||||
|
|
|
@ -43,9 +43,9 @@ options:
|
||||||
default: true
|
default: true
|
||||||
notes:
|
notes:
|
||||||
- Also see the API documentation on U(https://developer.scaleway.com/)
|
- Also see the API documentation on U(https://developer.scaleway.com/)
|
||||||
- If C(api_token) is not set within the module, the following
|
- If O(api_token) is not set within the module, the following
|
||||||
environment variables can be used in decreasing order of precedence
|
environment variables can be used in decreasing order of precedence
|
||||||
C(SCW_TOKEN), C(SCW_API_KEY), C(SCW_OAUTH_TOKEN) or C(SCW_API_TOKEN).
|
C(SCW_TOKEN), C(SCW_API_KEY), C(SCW_OAUTH_TOKEN) or C(SCW_API_TOKEN).
|
||||||
- If one wants to use a different C(api_url) one can also set the C(SCW_API_URL)
|
- If one wants to use a different O(api_url) one can also set the C(SCW_API_URL)
|
||||||
environment variable.
|
environment variable.
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -48,8 +48,8 @@ options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- The desired state of the object.
|
- The desired state of the object.
|
||||||
- C(present) will create or update an object
|
- V(present) will create or update an object
|
||||||
- C(absent) will delete an object if it was present
|
- V(absent) will delete an object if it was present
|
||||||
type: str
|
type: str
|
||||||
choices: [ absent, present ]
|
choices: [ absent, present ]
|
||||||
default: present
|
default: present
|
||||||
|
|
|
@ -39,8 +39,8 @@ options:
|
||||||
type: str
|
type: str
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- Allows connection when SSL certificates are not valid. Set to C(false) when certificates are not trusted.
|
- Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.
|
||||||
- If set to C(true), please make sure Python >= 2.7.9 is installed on the given machine.
|
- If set to V(true), please make sure Python >= 2.7.9 is installed on the given machine.
|
||||||
required: false
|
required: false
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
|
|
|
@ -34,7 +34,7 @@ options:
|
||||||
aliases: [ pass, pwd ]
|
aliases: [ pass, pwd ]
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- Allows connection when SSL certificates are not valid. Set to C(false) when certificates are not trusted.
|
- Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.
|
||||||
- If the value is not specified in the task, the value of environment variable C(XENSERVER_VALIDATE_CERTS) will be used instead.
|
- If the value is not specified in the task, the value of environment variable C(XENSERVER_VALIDATE_CERTS) will be used instead.
|
||||||
type: bool
|
type: bool
|
||||||
default: true
|
default: true
|
||||||
|
|
|
@ -23,7 +23,7 @@ DOCUMENTATION = '''
|
||||||
dialect:
|
dialect:
|
||||||
description:
|
description:
|
||||||
- The CSV dialect to use when parsing the CSV file.
|
- The CSV dialect to use when parsing the CSV file.
|
||||||
- Possible values include C(excel), C(excel-tab) or C(unix).
|
- Possible values include V(excel), V(excel-tab) or V(unix).
|
||||||
type: str
|
type: str
|
||||||
default: excel
|
default: excel
|
||||||
fieldnames:
|
fieldnames:
|
||||||
|
@ -35,19 +35,19 @@ DOCUMENTATION = '''
|
||||||
delimiter:
|
delimiter:
|
||||||
description:
|
description:
|
||||||
- A one-character string used to separate fields.
|
- A one-character string used to separate fields.
|
||||||
- When using this parameter, you change the default value used by I(dialect).
|
- When using this parameter, you change the default value used by O(dialect).
|
||||||
- The default value depends on the dialect used.
|
- The default value depends on the dialect used.
|
||||||
type: str
|
type: str
|
||||||
skipinitialspace:
|
skipinitialspace:
|
||||||
description:
|
description:
|
||||||
- Whether to ignore any whitespaces immediately following the delimiter.
|
- Whether to ignore any whitespaces immediately following the delimiter.
|
||||||
- When using this parameter, you change the default value used by I(dialect).
|
- When using this parameter, you change the default value used by O(dialect).
|
||||||
- The default value depends on the dialect used.
|
- The default value depends on the dialect used.
|
||||||
type: bool
|
type: bool
|
||||||
strict:
|
strict:
|
||||||
description:
|
description:
|
||||||
- Whether to raise an exception on bad CSV input.
|
- Whether to raise an exception on bad CSV input.
|
||||||
- When using this parameter, you change the default value used by I(dialect).
|
- When using this parameter, you change the default value used by O(dialect).
|
||||||
- The default value depends on the dialect used.
|
- The default value depends on the dialect used.
|
||||||
type: bool
|
type: bool
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -25,17 +25,17 @@ DOCUMENTATION = '''
|
||||||
parser:
|
parser:
|
||||||
description:
|
description:
|
||||||
- The correct parser for the input data.
|
- The correct parser for the input data.
|
||||||
- For example C(ifconfig).
|
- For example V(ifconfig).
|
||||||
- "Note: use underscores instead of dashes (if any) in the parser module name."
|
- "Note: use underscores instead of dashes (if any) in the parser module name."
|
||||||
- See U(https://github.com/kellyjonbrazil/jc#parsers) for the latest list of parsers.
|
- See U(https://github.com/kellyjonbrazil/jc#parsers) for the latest list of parsers.
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
quiet:
|
quiet:
|
||||||
description: Set to C(false) to not suppress warnings.
|
description: Set to V(false) to not suppress warnings.
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
raw:
|
raw:
|
||||||
description: Set to C(true) to return pre-processed JSON.
|
description: Set to V(true) to return pre-processed JSON.
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
requirements:
|
requirements:
|
||||||
|
|
|
@ -12,9 +12,9 @@ DOCUMENTATION = '''
|
||||||
version_added: 2.0.0
|
version_added: 2.0.0
|
||||||
author: Vladimir Botka (@vbotka)
|
author: Vladimir Botka (@vbotka)
|
||||||
description:
|
description:
|
||||||
- Merge two or more lists by attribute I(index). Optional parameters 'recursive' and 'list_merge'
|
- Merge two or more lists by attribute O(index). Optional parameters O(recursive) and O(list_merge)
|
||||||
control the merging of the lists in values. The function merge_hash from ansible.utils.vars
|
control the merging of the lists in values. The function merge_hash from ansible.utils.vars
|
||||||
is used. To learn details on how to use the parameters 'recursive' and 'list_merge' see
|
is used. To learn details on how to use the parameters O(recursive) and O(list_merge) see
|
||||||
Ansible User's Guide chapter "Using filters to manipulate data" section "Combining
|
Ansible User's Guide chapter "Using filters to manipulate data" section "Combining
|
||||||
hashes/dictionaries".
|
hashes/dictionaries".
|
||||||
positional: another_list, index
|
positional: another_list, index
|
||||||
|
|
|
@ -13,12 +13,12 @@ DOCUMENTATION:
|
||||||
_input:
|
_input:
|
||||||
description:
|
description:
|
||||||
- The time string to convert.
|
- The time string to convert.
|
||||||
- Can use the units C(y) and C(year) for a year, C(mo) and C(month) for a month, C(w) and C(week) for a week,
|
- Can use the units V(y) and V(year) for a year, V(mo) and V(month) for a month, V(w) and V(week) for a week,
|
||||||
C(d) and C(day) for a day, C(h) and C(hour) for a hour, C(m), C(min) and C(minute) for minutes, C(s), C(sec)
|
V(d) and V(day) for a day, V(h) and V(hour) for a hour, V(m), V(min) and V(minute) for minutes, V(s), V(sec)
|
||||||
and C(second) for seconds, C(ms), C(msec), C(msecond) and C(millisecond) for milliseconds. The suffix C(s)
|
and V(second) for seconds, V(ms), V(msec), V(msecond) and V(millisecond) for milliseconds. The suffix V(s)
|
||||||
can be added to a unit as well, so C(seconds) is the same as C(second).
|
can be added to a unit as well, so V(seconds) is the same as V(second).
|
||||||
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
||||||
- Examples are C(1h), C(-5m), and C(3h -5m 6s).
|
- Examples are V(1h), V(-5m), and V(3h -5m 6s).
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
year:
|
year:
|
||||||
|
|
|
@ -13,12 +13,12 @@ DOCUMENTATION:
|
||||||
_input:
|
_input:
|
||||||
description:
|
description:
|
||||||
- The time string to convert.
|
- The time string to convert.
|
||||||
- Can use the units C(y) and C(year) for a year, C(mo) and C(month) for a month, C(w) and C(week) for a week,
|
- Can use the units V(y) and V(year) for a year, V(mo) and V(month) for a month, V(w) and V(week) for a week,
|
||||||
C(d) and C(day) for a day, C(h) and C(hour) for a hour, C(m), C(min) and C(minute) for minutes, C(s), C(sec)
|
V(d) and V(day) for a day, V(h) and V(hour) for a hour, V(m), V(min) and V(minute) for minutes, V(s), V(sec)
|
||||||
and C(second) for seconds, C(ms), C(msec), C(msecond) and C(millisecond) for milliseconds. The suffix C(s)
|
and V(second) for seconds, V(ms), V(msec), V(msecond) and V(millisecond) for milliseconds. The suffix V(s)
|
||||||
can be added to a unit as well, so C(seconds) is the same as C(second).
|
can be added to a unit as well, so V(seconds) is the same as V(second).
|
||||||
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
||||||
- Examples are C(1h), C(-5m), and C(3h -5m 6s).
|
- Examples are V(1h), V(-5m), and V(3h -5m 6s).
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
year:
|
year:
|
||||||
|
|
|
@ -13,12 +13,12 @@ DOCUMENTATION:
|
||||||
_input:
|
_input:
|
||||||
description:
|
description:
|
||||||
- The time string to convert.
|
- The time string to convert.
|
||||||
- Can use the units C(y) and C(year) for a year, C(mo) and C(month) for a month, C(w) and C(week) for a week,
|
- Can use the units V(y) and V(year) for a year, V(mo) and V(month) for a month, V(w) and V(week) for a week,
|
||||||
C(d) and C(day) for a day, C(h) and C(hour) for a hour, C(m), C(min) and C(minute) for minutes, C(s), C(sec)
|
V(d) and V(day) for a day, V(h) and V(hour) for a hour, V(m), V(min) and V(minute) for minutes, V(s), V(sec)
|
||||||
and C(second) for seconds, C(ms), C(msec), C(msecond) and C(millisecond) for milliseconds. The suffix C(s)
|
and V(second) for seconds, V(ms), V(msec), V(msecond) and V(millisecond) for milliseconds. The suffix V(s)
|
||||||
can be added to a unit as well, so C(seconds) is the same as C(second).
|
can be added to a unit as well, so V(seconds) is the same as V(second).
|
||||||
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
||||||
- Examples are C(1h), C(-5m), and C(3h -5m 6s).
|
- Examples are V(1h), V(-5m), and V(3h -5m 6s).
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
year:
|
year:
|
||||||
|
|
|
@ -13,12 +13,12 @@ DOCUMENTATION:
|
||||||
_input:
|
_input:
|
||||||
description:
|
description:
|
||||||
- The time string to convert.
|
- The time string to convert.
|
||||||
- Can use the units C(y) and C(year) for a year, C(mo) and C(month) for a month, C(w) and C(week) for a week,
|
- Can use the units V(y) and V(year) for a year, V(mo) and V(month) for a month, V(w) and V(week) for a week,
|
||||||
C(d) and C(day) for a day, C(h) and C(hour) for a hour, C(m), C(min) and C(minute) for minutes, C(s), C(sec)
|
V(d) and V(day) for a day, V(h) and V(hour) for a hour, V(m), V(min) and V(minute) for minutes, V(s), V(sec)
|
||||||
and C(second) for seconds, C(ms), C(msec), C(msecond) and C(millisecond) for milliseconds. The suffix C(s)
|
and V(second) for seconds, V(ms), V(msec), V(msecond) and V(millisecond) for milliseconds. The suffix V(s)
|
||||||
can be added to a unit as well, so C(seconds) is the same as C(second).
|
can be added to a unit as well, so V(seconds) is the same as V(second).
|
||||||
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
||||||
- Examples are C(1h), C(-5m), and C(3h -5m 6s).
|
- Examples are V(1h), V(-5m), and V(3h -5m 6s).
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
year:
|
year:
|
||||||
|
|
|
@ -13,12 +13,12 @@ DOCUMENTATION:
|
||||||
_input:
|
_input:
|
||||||
description:
|
description:
|
||||||
- The time string to convert.
|
- The time string to convert.
|
||||||
- Can use the units C(y) and C(year) for a year, C(mo) and C(month) for a month, C(w) and C(week) for a week,
|
- Can use the units V(y) and V(year) for a year, V(mo) and V(month) for a month, V(w) and V(week) for a week,
|
||||||
C(d) and C(day) for a day, C(h) and C(hour) for a hour, C(m), C(min) and C(minute) for minutes, C(s), C(sec)
|
V(d) and V(day) for a day, V(h) and V(hour) for a hour, V(m), V(min) and V(minute) for minutes, V(s), V(sec)
|
||||||
and C(second) for seconds, C(ms), C(msec), C(msecond) and C(millisecond) for milliseconds. The suffix C(s)
|
and V(second) for seconds, V(ms), V(msec), V(msecond) and V(millisecond) for milliseconds. The suffix V(s)
|
||||||
can be added to a unit as well, so C(seconds) is the same as C(second).
|
can be added to a unit as well, so V(seconds) is the same as V(second).
|
||||||
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
||||||
- Examples are C(1h), C(-5m), and C(3h -5m 6s).
|
- Examples are V(1h), V(-5m), and V(3h -5m 6s).
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
year:
|
year:
|
||||||
|
|
|
@ -13,12 +13,12 @@ DOCUMENTATION:
|
||||||
_input:
|
_input:
|
||||||
description:
|
description:
|
||||||
- The time string to convert.
|
- The time string to convert.
|
||||||
- Can use the units C(y) and C(year) for a year, C(mo) and C(month) for a month, C(w) and C(week) for a week,
|
- Can use the units V(y) and V(year) for a year, V(mo) and V(month) for a month, V(w) and V(week) for a week,
|
||||||
C(d) and C(day) for a day, C(h) and C(hour) for a hour, C(m), C(min) and C(minute) for minutes, C(s), C(sec)
|
V(d) and V(day) for a day, V(h) and V(hour) for a hour, V(m), V(min) and V(minute) for minutes, V(s), V(sec)
|
||||||
and C(second) for seconds, C(ms), C(msec), C(msecond) and C(millisecond) for milliseconds. The suffix C(s)
|
and V(second) for seconds, V(ms), V(msec), V(msecond) and V(millisecond) for milliseconds. The suffix V(s)
|
||||||
can be added to a unit as well, so C(seconds) is the same as C(second).
|
can be added to a unit as well, so V(seconds) is the same as V(second).
|
||||||
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
||||||
- Examples are C(1h), C(-5m), and C(3h -5m 6s).
|
- Examples are V(1h), V(-5m), and V(3h -5m 6s).
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
year:
|
year:
|
||||||
|
|
|
@ -14,12 +14,12 @@ DOCUMENTATION:
|
||||||
_input:
|
_input:
|
||||||
description:
|
description:
|
||||||
- The time string to convert.
|
- The time string to convert.
|
||||||
- Can use the units C(y) and C(year) for a year, C(mo) and C(month) for a month, C(w) and C(week) for a week,
|
- Can use the units V(y) and V(year) for a year, V(mo) and V(month) for a month, V(w) and V(week) for a week,
|
||||||
C(d) and C(day) for a day, C(h) and C(hour) for a hour, C(m), C(min) and C(minute) for minutes, C(s), C(sec)
|
V(d) and V(day) for a day, V(h) and V(hour) for a hour, V(m), V(min) and V(minute) for minutes, V(s), V(sec)
|
||||||
and C(second) for seconds, C(ms), C(msec), C(msecond) and C(millisecond) for milliseconds. The suffix C(s)
|
and V(second) for seconds, V(ms), V(msec), V(msecond) and V(millisecond) for milliseconds. The suffix V(s)
|
||||||
can be added to a unit as well, so C(seconds) is the same as C(second).
|
can be added to a unit as well, so V(seconds) is the same as V(second).
|
||||||
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
||||||
- Examples are C(1h), C(-5m), and C(3h -5m 6s).
|
- Examples are V(1h), V(-5m), and V(3h -5m 6s).
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
unit:
|
unit:
|
||||||
|
|
|
@ -13,12 +13,12 @@ DOCUMENTATION:
|
||||||
_input:
|
_input:
|
||||||
description:
|
description:
|
||||||
- The time string to convert.
|
- The time string to convert.
|
||||||
- Can use the units C(y) and C(year) for a year, C(mo) and C(month) for a month, C(w) and C(week) for a week,
|
- Can use the units V(y) and V(year) for a year, V(mo) and V(month) for a month, V(w) and V(week) for a week,
|
||||||
C(d) and C(day) for a day, C(h) and C(hour) for a hour, C(m), C(min) and C(minute) for minutes, C(s), C(sec)
|
V(d) and V(day) for a day, V(h) and V(hour) for a hour, V(m), V(min) and V(minute) for minutes, V(s), V(sec)
|
||||||
and C(second) for seconds, C(ms), C(msec), C(msecond) and C(millisecond) for milliseconds. The suffix C(s)
|
and V(second) for seconds, V(ms), V(msec), V(msecond) and V(millisecond) for milliseconds. The suffix V(s)
|
||||||
can be added to a unit as well, so C(seconds) is the same as C(second).
|
can be added to a unit as well, so V(seconds) is the same as V(second).
|
||||||
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
||||||
- Examples are C(1h), C(-5m), and C(3h -5m 6s).
|
- Examples are V(1h), V(-5m), and V(3h -5m 6s).
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
year:
|
year:
|
||||||
|
|
|
@ -13,12 +13,12 @@ DOCUMENTATION:
|
||||||
_input:
|
_input:
|
||||||
description:
|
description:
|
||||||
- The time string to convert.
|
- The time string to convert.
|
||||||
- Can use the units C(y) and C(year) for a year, C(mo) and C(month) for a month, C(w) and C(week) for a week,
|
- Can use the units V(y) and V(year) for a year, V(mo) and V(month) for a month, V(w) and V(week) for a week,
|
||||||
C(d) and C(day) for a day, C(h) and C(hour) for a hour, C(m), C(min) and C(minute) for minutes, C(s), C(sec)
|
V(d) and V(day) for a day, V(h) and V(hour) for a hour, V(m), V(min) and V(minute) for minutes, V(s), V(sec)
|
||||||
and C(second) for seconds, C(ms), C(msec), C(msecond) and C(millisecond) for milliseconds. The suffix C(s)
|
and V(second) for seconds, V(ms), V(msec), V(msecond) and V(millisecond) for milliseconds. The suffix V(s)
|
||||||
can be added to a unit as well, so C(seconds) is the same as C(second).
|
can be added to a unit as well, so V(seconds) is the same as V(second).
|
||||||
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
- Valid strings are space separated combinations of an integer with an optional minus sign and a unit.
|
||||||
- Examples are C(1h), C(-5m), and C(3h -5m 6s).
|
- Examples are V(1h), V(-5m), and V(3h -5m 6s).
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
year:
|
year:
|
||||||
|
|
|
@ -18,7 +18,7 @@ DOCUMENTATION = '''
|
||||||
- inventory_cache
|
- inventory_cache
|
||||||
options:
|
options:
|
||||||
plugin:
|
plugin:
|
||||||
description: The name of this plugin, it should always be set to C(community.general.cobbler) for this plugin to recognize it as it's own.
|
description: The name of this plugin, it should always be set to V(community.general.cobbler) for this plugin to recognize it as it's own.
|
||||||
required: true
|
required: true
|
||||||
choices: [ 'cobbler', 'community.general.cobbler' ]
|
choices: [ 'cobbler', 'community.general.cobbler' ]
|
||||||
url:
|
url:
|
||||||
|
@ -43,7 +43,7 @@ DOCUMENTATION = '''
|
||||||
exclude_profiles:
|
exclude_profiles:
|
||||||
description:
|
description:
|
||||||
- Profiles to exclude from inventory.
|
- Profiles to exclude from inventory.
|
||||||
- Ignored if I(include_profiles) is specified.
|
- Ignored if O(include_profiles) is specified.
|
||||||
type: list
|
type: list
|
||||||
default: []
|
default: []
|
||||||
elements: str
|
elements: str
|
||||||
|
@ -51,7 +51,7 @@ DOCUMENTATION = '''
|
||||||
description:
|
description:
|
||||||
- Profiles to include from inventory.
|
- Profiles to include from inventory.
|
||||||
- If specified, all other profiles will be excluded.
|
- If specified, all other profiles will be excluded.
|
||||||
- I(exclude_profiles) is ignored if I(include_profiles) is specified.
|
- O(exclude_profiles) is ignored if O(include_profiles) is specified.
|
||||||
type: list
|
type: list
|
||||||
default: []
|
default: []
|
||||||
elements: str
|
elements: str
|
||||||
|
@ -60,7 +60,7 @@ DOCUMENTATION = '''
|
||||||
description:
|
description:
|
||||||
- What to use for the ansible inventory hostname.
|
- What to use for the ansible inventory hostname.
|
||||||
- By default the networking hostname is used if defined, otherwise the DNS name of the management or first non-static interface.
|
- By default the networking hostname is used if defined, otherwise the DNS name of the management or first non-static interface.
|
||||||
- If set to I(system), the cobbler system name is used.
|
- If set to V(system), the cobbler system name is used.
|
||||||
type: str
|
type: str
|
||||||
choices: [ 'hostname', 'system' ]
|
choices: [ 'hostname', 'system' ]
|
||||||
default: hostname
|
default: hostname
|
||||||
|
@ -77,7 +77,7 @@ DOCUMENTATION = '''
|
||||||
description: Prefix to apply to cobbler groups
|
description: Prefix to apply to cobbler groups
|
||||||
default: cobbler_
|
default: cobbler_
|
||||||
want_facts:
|
want_facts:
|
||||||
description: Toggle, if C(true) the plugin will retrieve host facts from the server
|
description: Toggle, if V(true) the plugin will retrieve host facts from the server
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -58,7 +58,7 @@ DOCUMENTATION = '''
|
||||||
description:
|
description:
|
||||||
- Allows the override of the inventory name based on different attributes.
|
- Allows the override of the inventory name based on different attributes.
|
||||||
- This allows for changing the way limits are used.
|
- This allows for changing the way limits are used.
|
||||||
- The current default, C(address), is sometimes not unique or present. We recommend to use C(name) instead.
|
- The current default, V(address), is sometimes not unique or present. We recommend to use V(name) instead.
|
||||||
type: string
|
type: string
|
||||||
default: address
|
default: address
|
||||||
choices: ['name', 'display_name', 'address']
|
choices: ['name', 'display_name', 'address']
|
||||||
|
|
|
@ -48,7 +48,7 @@ DOCUMENTATION = r'''
|
||||||
running this module using the following command
|
running this module using the following command
|
||||||
C(lxc config set core.trust_password <some random password>)
|
C(lxc config set core.trust_password <some random password>)
|
||||||
See U(https://www.stgraber.org/2016/04/18/lxd-api-direct-interaction/).
|
See U(https://www.stgraber.org/2016/04/18/lxd-api-direct-interaction/).
|
||||||
- If I(trust_password) is set, this module send a request for authentication before sending any requests.
|
- If O(trust_password) is set, this module send a request for authentication before sending any requests.
|
||||||
type: str
|
type: str
|
||||||
state:
|
state:
|
||||||
description: Filter the instance according to the current status.
|
description: Filter the instance according to the current status.
|
||||||
|
@ -62,7 +62,7 @@ DOCUMENTATION = r'''
|
||||||
version_added: 6.2.0
|
version_added: 6.2.0
|
||||||
type_filter:
|
type_filter:
|
||||||
description:
|
description:
|
||||||
- Filter the instances by type C(virtual-machine), C(container) or C(both).
|
- Filter the instances by type V(virtual-machine), V(container) or V(both).
|
||||||
- The first version of the inventory only supported containers.
|
- The first version of the inventory only supported containers.
|
||||||
type: str
|
type: str
|
||||||
default: container
|
default: container
|
||||||
|
@ -72,8 +72,8 @@ DOCUMENTATION = r'''
|
||||||
description:
|
description:
|
||||||
- If an instance has multiple network interfaces, select which one is the prefered as pattern.
|
- If an instance has multiple network interfaces, select which one is the prefered as pattern.
|
||||||
- Combined with the first number that can be found e.g. 'eth' + 0.
|
- Combined with the first number that can be found e.g. 'eth' + 0.
|
||||||
- The option has been renamed from I(prefered_container_network_interface) to I(prefered_instance_network_interface) in community.general 3.8.0.
|
- The option has been renamed from O(ignore:prefered_container_network_interface) to O(prefered_instance_network_interface)
|
||||||
The old name still works as an alias.
|
in community.general 3.8.0. The old name still works as an alias.
|
||||||
type: str
|
type: str
|
||||||
default: eth
|
default: eth
|
||||||
aliases:
|
aliases:
|
||||||
|
@ -81,7 +81,7 @@ DOCUMENTATION = r'''
|
||||||
prefered_instance_network_family:
|
prefered_instance_network_family:
|
||||||
description:
|
description:
|
||||||
- If an instance has multiple network interfaces, which one is the prefered by family.
|
- If an instance has multiple network interfaces, which one is the prefered by family.
|
||||||
- Specify C(inet) for IPv4 and C(inet6) for IPv6.
|
- Specify V(inet) for IPv4 and V(inet6) for IPv6.
|
||||||
type: str
|
type: str
|
||||||
default: inet
|
default: inet
|
||||||
choices: [ 'inet', 'inet6' ]
|
choices: [ 'inet', 'inet6' ]
|
||||||
|
|
|
@ -23,7 +23,7 @@ DOCUMENTATION = '''
|
||||||
required: true
|
required: true
|
||||||
choices: ['nmap', 'community.general.nmap']
|
choices: ['nmap', 'community.general.nmap']
|
||||||
sudo:
|
sudo:
|
||||||
description: Set to C(true) to execute a C(sudo nmap) plugin scan.
|
description: Set to V(true) to execute a C(sudo nmap) plugin scan.
|
||||||
version_added: 4.8.0
|
version_added: 4.8.0
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
@ -36,7 +36,7 @@ DOCUMENTATION = '''
|
||||||
exclude:
|
exclude:
|
||||||
description:
|
description:
|
||||||
- List of addresses to exclude.
|
- List of addresses to exclude.
|
||||||
- For example C(10.2.2.15-25) or C(10.2.2.15,10.2.2.16).
|
- For example V(10.2.2.15-25) or V(10.2.2.15,10.2.2.16).
|
||||||
type: list
|
type: list
|
||||||
elements: string
|
elements: string
|
||||||
env:
|
env:
|
||||||
|
@ -45,8 +45,8 @@ DOCUMENTATION = '''
|
||||||
port:
|
port:
|
||||||
description:
|
description:
|
||||||
- Only scan specific port or port range (C(-p)).
|
- Only scan specific port or port range (C(-p)).
|
||||||
- For example, you could pass C(22) for a single port, C(1-65535) for a range of ports,
|
- For example, you could pass V(22) for a single port, V(1-65535) for a range of ports,
|
||||||
or C(U:53,137,T:21-25,139,8080,S:9) to check port 53 with UDP, ports 21-25 with TCP, port 9 with SCTP, and ports 137, 139, and 8080 with all.
|
or V(U:53,137,T:21-25,139,8080,S:9) to check port 53 with UDP, ports 21-25 with TCP, port 9 with SCTP, and ports 137, 139, and 8080 with all.
|
||||||
type: string
|
type: string
|
||||||
version_added: 6.5.0
|
version_added: 6.5.0
|
||||||
ports:
|
ports:
|
||||||
|
@ -64,14 +64,14 @@ DOCUMENTATION = '''
|
||||||
udp_scan:
|
udp_scan:
|
||||||
description:
|
description:
|
||||||
- Scan via UDP.
|
- Scan via UDP.
|
||||||
- Depending on your system you might need I(sudo=true) for this to work.
|
- Depending on your system you might need O(sudo=true) for this to work.
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
version_added: 6.1.0
|
version_added: 6.1.0
|
||||||
icmp_timestamp:
|
icmp_timestamp:
|
||||||
description:
|
description:
|
||||||
- Scan via ICMP Timestamp (C(-PP)).
|
- Scan via ICMP Timestamp (C(-PP)).
|
||||||
- Depending on your system you might need I(sudo=true) for this to work.
|
- Depending on your system you might need O(sudo=true) for this to work.
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
version_added: 6.1.0
|
version_added: 6.1.0
|
||||||
|
@ -81,7 +81,7 @@ DOCUMENTATION = '''
|
||||||
default: false
|
default: false
|
||||||
version_added: 6.5.0
|
version_added: 6.5.0
|
||||||
dns_resolve:
|
dns_resolve:
|
||||||
description: Whether to always (C(true)) or never (C(false)) do DNS resolution.
|
description: Whether to always (V(true)) or never (V(false)) do DNS resolution.
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
version_added: 6.1.0
|
version_added: 6.1.0
|
||||||
|
|
|
@ -17,9 +17,9 @@ DOCUMENTATION = r'''
|
||||||
- constructed
|
- constructed
|
||||||
description:
|
description:
|
||||||
- Get inventory hosts from OpenNebula cloud.
|
- Get inventory hosts from OpenNebula cloud.
|
||||||
- Uses an YAML configuration file ending with either I(opennebula.yml) or I(opennebula.yaml)
|
- Uses an YAML configuration file ending with either C(opennebula.yml) or C(opennebula.yaml)
|
||||||
to set parameter values.
|
to set parameter values.
|
||||||
- Uses I(api_authfile), C(~/.one/one_auth), or C(ONE_AUTH) pointing to a OpenNebula credentials file.
|
- Uses O(api_authfile), C(~/.one/one_auth), or E(ONE_AUTH) pointing to a OpenNebula credentials file.
|
||||||
options:
|
options:
|
||||||
plugin:
|
plugin:
|
||||||
description: Token that ensures this is a source file for the 'opennebula' plugin.
|
description: Token that ensures this is a source file for the 'opennebula' plugin.
|
||||||
|
@ -31,7 +31,7 @@ DOCUMENTATION = r'''
|
||||||
- URL of the OpenNebula RPC server.
|
- URL of the OpenNebula RPC server.
|
||||||
- It is recommended to use HTTPS so that the username/password are not
|
- It is recommended to use HTTPS so that the username/password are not
|
||||||
transferred over the network unencrypted.
|
transferred over the network unencrypted.
|
||||||
- If not set then the value of the C(ONE_URL) environment variable is used.
|
- If not set then the value of the E(ONE_URL) environment variable is used.
|
||||||
env:
|
env:
|
||||||
- name: ONE_URL
|
- name: ONE_URL
|
||||||
required: true
|
required: true
|
||||||
|
@ -39,29 +39,29 @@ DOCUMENTATION = r'''
|
||||||
api_username:
|
api_username:
|
||||||
description:
|
description:
|
||||||
- Name of the user to login into the OpenNebula RPC server. If not set
|
- Name of the user to login into the OpenNebula RPC server. If not set
|
||||||
then the value of the C(ONE_USERNAME) environment variable is used.
|
then the value of the E(ONE_USERNAME) environment variable is used.
|
||||||
env:
|
env:
|
||||||
- name: ONE_USERNAME
|
- name: ONE_USERNAME
|
||||||
type: string
|
type: string
|
||||||
api_password:
|
api_password:
|
||||||
description:
|
description:
|
||||||
- Password or a token of the user to login into OpenNebula RPC server.
|
- Password or a token of the user to login into OpenNebula RPC server.
|
||||||
- If not set, the value of the C(ONE_PASSWORD) environment variable is used.
|
- If not set, the value of the E(ONE_PASSWORD) environment variable is used.
|
||||||
env:
|
env:
|
||||||
- name: ONE_PASSWORD
|
- name: ONE_PASSWORD
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
api_authfile:
|
api_authfile:
|
||||||
description:
|
description:
|
||||||
- If both I(api_username) or I(api_password) are not set, then it will try
|
- If both O(api_username) or O(api_password) are not set, then it will try
|
||||||
authenticate with ONE auth file. Default path is C(~/.one/one_auth).
|
authenticate with ONE auth file. Default path is C(~/.one/one_auth).
|
||||||
- Set environment variable C(ONE_AUTH) to override this path.
|
- Set environment variable E(ONE_AUTH) to override this path.
|
||||||
env:
|
env:
|
||||||
- name: ONE_AUTH
|
- name: ONE_AUTH
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
hostname:
|
hostname:
|
||||||
description: Field to match the hostname. Note C(v4_first_ip) corresponds to the first IPv4 found on VM.
|
description: Field to match the hostname. Note V(v4_first_ip) corresponds to the first IPv4 found on VM.
|
||||||
type: string
|
type: string
|
||||||
default: v4_first_ip
|
default: v4_first_ip
|
||||||
choices:
|
choices:
|
||||||
|
|
|
@ -25,15 +25,15 @@ DOCUMENTATION = '''
|
||||||
- inventory_cache
|
- inventory_cache
|
||||||
options:
|
options:
|
||||||
plugin:
|
plugin:
|
||||||
description: The name of this plugin, it should always be set to C(community.general.proxmox) for this plugin to recognize it as it's own.
|
description: The name of this plugin, it should always be set to V(community.general.proxmox) for this plugin to recognize it as it's own.
|
||||||
required: true
|
required: true
|
||||||
choices: ['community.general.proxmox']
|
choices: ['community.general.proxmox']
|
||||||
type: str
|
type: str
|
||||||
url:
|
url:
|
||||||
description:
|
description:
|
||||||
- URL to Proxmox cluster.
|
- URL to Proxmox cluster.
|
||||||
- If the value is not specified in the inventory configuration, the value of environment variable C(PROXMOX_URL) will be used instead.
|
- If the value is not specified in the inventory configuration, the value of environment variable E(PROXMOX_URL) will be used instead.
|
||||||
- Since community.general 4.7.0 you can also use templating to specify the value of the I(url).
|
- Since community.general 4.7.0 you can also use templating to specify the value of the O(url).
|
||||||
default: 'http://localhost:8006'
|
default: 'http://localhost:8006'
|
||||||
type: str
|
type: str
|
||||||
env:
|
env:
|
||||||
|
@ -42,8 +42,8 @@ DOCUMENTATION = '''
|
||||||
user:
|
user:
|
||||||
description:
|
description:
|
||||||
- Proxmox authentication user.
|
- Proxmox authentication user.
|
||||||
- If the value is not specified in the inventory configuration, the value of environment variable C(PROXMOX_USER) will be used instead.
|
- If the value is not specified in the inventory configuration, the value of environment variable E(PROXMOX_USER) will be used instead.
|
||||||
- Since community.general 4.7.0 you can also use templating to specify the value of the I(user).
|
- Since community.general 4.7.0 you can also use templating to specify the value of the O(user).
|
||||||
required: true
|
required: true
|
||||||
type: str
|
type: str
|
||||||
env:
|
env:
|
||||||
|
@ -52,9 +52,9 @@ DOCUMENTATION = '''
|
||||||
password:
|
password:
|
||||||
description:
|
description:
|
||||||
- Proxmox authentication password.
|
- Proxmox authentication password.
|
||||||
- If the value is not specified in the inventory configuration, the value of environment variable C(PROXMOX_PASSWORD) will be used instead.
|
- If the value is not specified in the inventory configuration, the value of environment variable E(PROXMOX_PASSWORD) will be used instead.
|
||||||
- Since community.general 4.7.0 you can also use templating to specify the value of the I(password).
|
- Since community.general 4.7.0 you can also use templating to specify the value of the O(password).
|
||||||
- If you do not specify a password, you must set I(token_id) and I(token_secret) instead.
|
- If you do not specify a password, you must set O(token_id) and O(token_secret) instead.
|
||||||
type: str
|
type: str
|
||||||
env:
|
env:
|
||||||
- name: PROXMOX_PASSWORD
|
- name: PROXMOX_PASSWORD
|
||||||
|
@ -62,8 +62,8 @@ DOCUMENTATION = '''
|
||||||
token_id:
|
token_id:
|
||||||
description:
|
description:
|
||||||
- Proxmox authentication token ID.
|
- Proxmox authentication token ID.
|
||||||
- If the value is not specified in the inventory configuration, the value of environment variable C(PROXMOX_TOKEN_ID) will be used instead.
|
- If the value is not specified in the inventory configuration, the value of environment variable E(PROXMOX_TOKEN_ID) will be used instead.
|
||||||
- To use token authentication, you must also specify I(token_secret). If you do not specify I(token_id) and I(token_secret),
|
- To use token authentication, you must also specify O(token_secret). If you do not specify O(token_id) and O(token_secret),
|
||||||
you must set a password instead.
|
you must set a password instead.
|
||||||
- Make sure to grant explicit pve permissions to the token or disable 'privilege separation' to use the users' privileges instead.
|
- Make sure to grant explicit pve permissions to the token or disable 'privilege separation' to use the users' privileges instead.
|
||||||
version_added: 4.8.0
|
version_added: 4.8.0
|
||||||
|
@ -73,8 +73,8 @@ DOCUMENTATION = '''
|
||||||
token_secret:
|
token_secret:
|
||||||
description:
|
description:
|
||||||
- Proxmox authentication token secret.
|
- Proxmox authentication token secret.
|
||||||
- If the value is not specified in the inventory configuration, the value of environment variable C(PROXMOX_TOKEN_SECRET) will be used instead.
|
- If the value is not specified in the inventory configuration, the value of environment variable E(PROXMOX_TOKEN_SECRET) will be used instead.
|
||||||
- To use token authentication, you must also specify I(token_id). If you do not specify I(token_id) and I(token_secret),
|
- To use token authentication, you must also specify O(token_id). If you do not specify O(token_id) and O(token_secret),
|
||||||
you must set a password instead.
|
you must set a password instead.
|
||||||
version_added: 4.8.0
|
version_added: 4.8.0
|
||||||
type: str
|
type: str
|
||||||
|
@ -95,25 +95,25 @@ DOCUMENTATION = '''
|
||||||
want_facts:
|
want_facts:
|
||||||
description:
|
description:
|
||||||
- Gather LXC/QEMU configuration facts.
|
- Gather LXC/QEMU configuration facts.
|
||||||
- When I(want_facts) is set to C(true) more details about QEMU VM status are possible, besides the running and stopped states.
|
- When O(want_facts) is set to V(true) more details about QEMU VM status are possible, besides the running and stopped states.
|
||||||
Currently if the VM is running and it is suspended, the status will be running and the machine will be in C(running) group,
|
Currently if the VM is running and it is suspended, the status will be running and the machine will be in C(running) group,
|
||||||
but its actual state will be paused. See I(qemu_extended_statuses) for how to retrieve the real status.
|
but its actual state will be paused. See O(qemu_extended_statuses) for how to retrieve the real status.
|
||||||
default: false
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
qemu_extended_statuses:
|
qemu_extended_statuses:
|
||||||
description:
|
description:
|
||||||
- Requires I(want_facts) to be set to C(true) to function. This will allow you to differentiate betweend C(paused) and C(prelaunch)
|
- Requires O(want_facts) to be set to V(true) to function. This will allow you to differentiate betweend C(paused) and C(prelaunch)
|
||||||
statuses of the QEMU VMs.
|
statuses of the QEMU VMs.
|
||||||
- This introduces multiple groups [prefixed with I(group_prefix)] C(prelaunch) and C(paused).
|
- This introduces multiple groups [prefixed with O(group_prefix)] C(prelaunch) and C(paused).
|
||||||
default: false
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
version_added: 5.1.0
|
version_added: 5.1.0
|
||||||
want_proxmox_nodes_ansible_host:
|
want_proxmox_nodes_ansible_host:
|
||||||
version_added: 3.0.0
|
version_added: 3.0.0
|
||||||
description:
|
description:
|
||||||
- Whether to set C(ansbile_host) for proxmox nodes.
|
- Whether to set C(ansible_host) for proxmox nodes.
|
||||||
- When set to C(true) (default), will use the first available interface. This can be different from what you expect.
|
- When set to V(true) (default), will use the first available interface. This can be different from what you expect.
|
||||||
- The default of this option changed from C(true) to C(false) in community.general 6.0.0.
|
- The default of this option changed from V(true) to V(false) in community.general 6.0.0.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
filters:
|
filters:
|
||||||
|
|
|
@ -37,7 +37,7 @@ DOCUMENTATION = r'''
|
||||||
scw_profile:
|
scw_profile:
|
||||||
description:
|
description:
|
||||||
- The config profile to use in config file.
|
- The config profile to use in config file.
|
||||||
- By default uses the one specified as C(active_profile) in the config file, or falls back to C(default) if that is not defined.
|
- By default uses the one specified as C(active_profile) in the config file, or falls back to V(default) if that is not defined.
|
||||||
type: string
|
type: string
|
||||||
version_added: 4.4.0
|
version_added: 4.4.0
|
||||||
oauth_token:
|
oauth_token:
|
||||||
|
|
|
@ -23,21 +23,21 @@ DOCUMENTATION = '''
|
||||||
- inventory_cache
|
- inventory_cache
|
||||||
options:
|
options:
|
||||||
plugin:
|
plugin:
|
||||||
description: The name of this plugin, it should always be set to C(community.general.xen_orchestra) for this plugin to recognize it as its own.
|
description: The name of this plugin, it should always be set to V(community.general.xen_orchestra) for this plugin to recognize it as its own.
|
||||||
required: true
|
required: true
|
||||||
choices: ['community.general.xen_orchestra']
|
choices: ['community.general.xen_orchestra']
|
||||||
type: str
|
type: str
|
||||||
api_host:
|
api_host:
|
||||||
description:
|
description:
|
||||||
- API host to XOA API.
|
- API host to XOA API.
|
||||||
- If the value is not specified in the inventory configuration, the value of environment variable C(ANSIBLE_XO_HOST) will be used instead.
|
- If the value is not specified in the inventory configuration, the value of environment variable E(ANSIBLE_XO_HOST) will be used instead.
|
||||||
type: str
|
type: str
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_XO_HOST
|
- name: ANSIBLE_XO_HOST
|
||||||
user:
|
user:
|
||||||
description:
|
description:
|
||||||
- Xen Orchestra user.
|
- Xen Orchestra user.
|
||||||
- If the value is not specified in the inventory configuration, the value of environment variable C(ANSIBLE_XO_USER) will be used instead.
|
- If the value is not specified in the inventory configuration, the value of environment variable E(ANSIBLE_XO_USER) will be used instead.
|
||||||
required: true
|
required: true
|
||||||
type: str
|
type: str
|
||||||
env:
|
env:
|
||||||
|
@ -45,7 +45,7 @@ DOCUMENTATION = '''
|
||||||
password:
|
password:
|
||||||
description:
|
description:
|
||||||
- Xen Orchestra password.
|
- Xen Orchestra password.
|
||||||
- If the value is not specified in the inventory configuration, the value of environment variable C(ANSIBLE_XO_PASSWORD) will be used instead.
|
- If the value is not specified in the inventory configuration, the value of environment variable E(ANSIBLE_XO_PASSWORD) will be used instead.
|
||||||
required: true
|
required: true
|
||||||
type: str
|
type: str
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -25,7 +25,7 @@ DOCUMENTATION = """
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
search:
|
search:
|
||||||
description: Field to retrieve, for example C(name) or C(id).
|
description: Field to retrieve, for example V(name) or V(id).
|
||||||
type: str
|
type: str
|
||||||
default: name
|
default: name
|
||||||
version_added: 5.7.0
|
version_added: 5.7.0
|
||||||
|
|
|
@ -13,22 +13,22 @@ short_description: Retrieves the version of an installed collection
|
||||||
description:
|
description:
|
||||||
- This lookup allows to query the version of an installed collection, and to determine whether a
|
- This lookup allows to query the version of an installed collection, and to determine whether a
|
||||||
collection is installed at all.
|
collection is installed at all.
|
||||||
- By default it returns C(none) for non-existing collections and C(*) for collections without a
|
- By default it returns V(none) for non-existing collections and V(*) for collections without a
|
||||||
version number. The latter should only happen in development environments, or when installing
|
version number. The latter should only happen in development environments, or when installing
|
||||||
a collection from git which has no version in its C(galaxy.yml). This behavior can be adjusted
|
a collection from git which has no version in its C(galaxy.yml). This behavior can be adjusted
|
||||||
by providing other values with I(result_not_found) and I(result_no_version).
|
by providing other values with O(result_not_found) and O(result_no_version).
|
||||||
options:
|
options:
|
||||||
_terms:
|
_terms:
|
||||||
description:
|
description:
|
||||||
- The collections to look for.
|
- The collections to look for.
|
||||||
- For example C(community.general).
|
- For example V(community.general).
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
required: true
|
required: true
|
||||||
result_not_found:
|
result_not_found:
|
||||||
description:
|
description:
|
||||||
- The value to return when the collection could not be found.
|
- The value to return when the collection could not be found.
|
||||||
- By default, C(none) is returned.
|
- By default, V(none) is returned.
|
||||||
type: string
|
type: string
|
||||||
default: ~
|
default: ~
|
||||||
result_no_version:
|
result_no_version:
|
||||||
|
@ -36,7 +36,7 @@ options:
|
||||||
- The value to return when the collection has no version number.
|
- The value to return when the collection has no version number.
|
||||||
- This can happen for collections installed from git which do not have a version number
|
- This can happen for collections installed from git which do not have a version number
|
||||||
in C(galaxy.yml).
|
in C(galaxy.yml).
|
||||||
- By default, C(*) is returned.
|
- By default, V(*) is returned.
|
||||||
type: string
|
type: string
|
||||||
default: '*'
|
default: '*'
|
||||||
"""
|
"""
|
||||||
|
@ -51,11 +51,11 @@ RETURN = """
|
||||||
_raw:
|
_raw:
|
||||||
description:
|
description:
|
||||||
- The version number of the collections listed as input.
|
- The version number of the collections listed as input.
|
||||||
- If a collection can not be found, it will return the value provided in I(result_not_found).
|
- If a collection can not be found, it will return the value provided in O(result_not_found).
|
||||||
By default, this is C(none).
|
By default, this is V(none).
|
||||||
- If a collection can be found, but the version not identified, it will return the value provided in
|
- If a collection can be found, but the version not identified, it will return the value provided in
|
||||||
I(result_no_version). By default, this is C(*). This can happen for collections installed
|
O(result_no_version). By default, this is V(*). This can happen for collections installed
|
||||||
from git which do not have a version number in C(galaxy.yml).
|
from git which do not have a version number in V(galaxy.yml).
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -38,23 +38,20 @@ DOCUMENTATION = '''
|
||||||
default: localhost
|
default: localhost
|
||||||
description:
|
description:
|
||||||
- The target to connect to, must be a resolvable address.
|
- The target to connect to, must be a resolvable address.
|
||||||
Will be determined from C(ANSIBLE_CONSUL_URL) if that is set.
|
- Will be determined from E(ANSIBLE_CONSUL_URL) if that is set.
|
||||||
- "C(ANSIBLE_CONSUL_URL) should look like this: C(https://my.consul.server:8500)"
|
|
||||||
env:
|
|
||||||
- name: ANSIBLE_CONSUL_URL
|
|
||||||
ini:
|
ini:
|
||||||
- section: lookup_consul
|
- section: lookup_consul
|
||||||
key: host
|
key: host
|
||||||
port:
|
port:
|
||||||
description:
|
description:
|
||||||
- The port of the target host to connect to.
|
- The port of the target host to connect to.
|
||||||
- If you use C(ANSIBLE_CONSUL_URL) this value will be used from there.
|
- If you use E(ANSIBLE_CONSUL_URL) this value will be used from there.
|
||||||
default: 8500
|
default: 8500
|
||||||
scheme:
|
scheme:
|
||||||
default: http
|
default: http
|
||||||
description:
|
description:
|
||||||
- Whether to use http or https.
|
- Whether to use http or https.
|
||||||
- If you use C(ANSIBLE_CONSUL_URL) this value will be used from there.
|
- If you use E(ANSIBLE_CONSUL_URL) this value will be used from there.
|
||||||
validate_certs:
|
validate_certs:
|
||||||
default: true
|
default: true
|
||||||
description: Whether to verify the ssl connection or not.
|
description: Whether to verify the ssl connection or not.
|
||||||
|
@ -71,7 +68,9 @@ DOCUMENTATION = '''
|
||||||
- section: lookup_consul
|
- section: lookup_consul
|
||||||
key: client_cert
|
key: client_cert
|
||||||
url:
|
url:
|
||||||
description: "The target to connect to, should look like this: C(https://my.consul.server:8500)."
|
description:
|
||||||
|
- The target to connect to.
|
||||||
|
- "Should look like this: V(https://my.consul.server:8500)."
|
||||||
type: str
|
type: str
|
||||||
version_added: 1.0.0
|
version_added: 1.0.0
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -21,7 +21,7 @@ DOCUMENTATION = '''
|
||||||
- In addition to (default) A record, it is also possible to specify a different record type that should be queried.
|
- In addition to (default) A record, it is also possible to specify a different record type that should be queried.
|
||||||
This can be done by either passing-in additional parameter of format qtype=TYPE to the dig lookup, or by appending /TYPE to the FQDN being queried.
|
This can be done by either passing-in additional parameter of format qtype=TYPE to the dig lookup, or by appending /TYPE to the FQDN being queried.
|
||||||
- If multiple values are associated with the requested record, the results will be returned as a comma-separated list.
|
- If multiple values are associated with the requested record, the results will be returned as a comma-separated list.
|
||||||
In such cases you may want to pass option I(wantlist=true) to the lookup call, or alternatively use C(query) instead of C(lookup),
|
In such cases you may want to pass option C(wantlist=true) to the lookup call, or alternatively use C(query) instead of C(lookup),
|
||||||
which will result in the record values being returned as a list over which you can iterate later on.
|
which will result in the record values being returned as a list over which you can iterate later on.
|
||||||
- By default, the lookup will rely on system-wide configured DNS servers for performing the query.
|
- By default, the lookup will rely on system-wide configured DNS servers for performing the query.
|
||||||
It is also possible to explicitly specify DNS servers to query using the @DNS_SERVER_1,DNS_SERVER_2,...,DNS_SERVER_N notation.
|
It is also possible to explicitly specify DNS servers to query using the @DNS_SERVER_1,DNS_SERVER_2,...,DNS_SERVER_N notation.
|
||||||
|
@ -34,8 +34,8 @@ DOCUMENTATION = '''
|
||||||
qtype:
|
qtype:
|
||||||
description:
|
description:
|
||||||
- Record type to query.
|
- Record type to query.
|
||||||
- C(DLV) has been removed in community.general 6.0.0.
|
- V(DLV) has been removed in community.general 6.0.0.
|
||||||
- C(CAA) has been added in community.general 6.3.0.
|
- V(CAA) has been added in community.general 6.3.0.
|
||||||
type: str
|
type: str
|
||||||
default: 'A'
|
default: 'A'
|
||||||
choices: [A, ALL, AAAA, CAA, CNAME, DNAME, DNSKEY, DS, HINFO, LOC, MX, NAPTR, NS, NSEC3PARAM, PTR, RP, RRSIG, SOA, SPF, SRV, SSHFP, TLSA, TXT]
|
choices: [A, ALL, AAAA, CAA, CNAME, DNAME, DNSKEY, DS, HINFO, LOC, MX, NAPTR, NS, NSEC3PARAM, PTR, RP, RRSIG, SOA, SPF, SRV, SSHFP, TLSA, TXT]
|
||||||
|
@ -51,17 +51,17 @@ DOCUMENTATION = '''
|
||||||
fail_on_error:
|
fail_on_error:
|
||||||
description:
|
description:
|
||||||
- Abort execution on lookup errors.
|
- Abort execution on lookup errors.
|
||||||
- The default for this option will likely change to C(true) in the future.
|
- The default for this option will likely change to V(true) in the future.
|
||||||
The current default, C(false), is used for backwards compatibility, and will result in empty strings
|
The current default, V(false), is used for backwards compatibility, and will result in empty strings
|
||||||
or the string C(NXDOMAIN) in the result in case of errors.
|
or the string V(NXDOMAIN) in the result in case of errors.
|
||||||
default: false
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
version_added: 5.4.0
|
version_added: 5.4.0
|
||||||
real_empty:
|
real_empty:
|
||||||
description:
|
description:
|
||||||
- Return empty result without empty strings, and return empty list instead of C(NXDOMAIN).
|
- Return empty result without empty strings, and return empty list instead of V(NXDOMAIN).
|
||||||
- The default for this option will likely change to C(true) in the future.
|
- The default for this option will likely change to V(true) in the future.
|
||||||
- This option will be forced to C(true) if multiple domains to be queried are specified.
|
- This option will be forced to V(true) if multiple domains to be queried are specified.
|
||||||
default: false
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
version_added: 6.0.0
|
version_added: 6.0.0
|
||||||
|
|
|
@ -22,8 +22,8 @@ DOCUMENTATION = '''
|
||||||
elements: string
|
elements: string
|
||||||
real_empty:
|
real_empty:
|
||||||
description:
|
description:
|
||||||
- Return empty result without empty strings, and return empty list instead of C(NXDOMAIN).
|
- Return empty result without empty strings, and return empty list instead of V(NXDOMAIN).
|
||||||
- The default for this option will likely change to C(true) in the future.
|
- The default for this option will likely change to V(true) in the future.
|
||||||
default: false
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
version_added: 6.0.0
|
version_added: 6.0.0
|
||||||
|
|
|
@ -13,15 +13,15 @@ short_description: Get secrets from Thycotic DevOps Secrets Vault
|
||||||
version_added: 1.0.0
|
version_added: 1.0.0
|
||||||
description:
|
description:
|
||||||
- Uses the Thycotic DevOps Secrets Vault Python SDK to get Secrets from a
|
- Uses the Thycotic DevOps Secrets Vault Python SDK to get Secrets from a
|
||||||
DSV I(tenant) using a I(client_id) and I(client_secret).
|
DSV O(tenant) using a O(client_id) and O(client_secret).
|
||||||
requirements:
|
requirements:
|
||||||
- python-dsv-sdk - https://pypi.org/project/python-dsv-sdk/
|
- python-dsv-sdk - https://pypi.org/project/python-dsv-sdk/
|
||||||
options:
|
options:
|
||||||
_terms:
|
_terms:
|
||||||
description: The path to the secret, e.g. C(/staging/servers/web1).
|
description: The path to the secret, for example V(/staging/servers/web1).
|
||||||
required: true
|
required: true
|
||||||
tenant:
|
tenant:
|
||||||
description: The first format parameter in the default I(url_template).
|
description: The first format parameter in the default O(url_template).
|
||||||
env:
|
env:
|
||||||
- name: DSV_TENANT
|
- name: DSV_TENANT
|
||||||
ini:
|
ini:
|
||||||
|
@ -31,7 +31,7 @@ options:
|
||||||
tld:
|
tld:
|
||||||
default: com
|
default: com
|
||||||
description: The top-level domain of the tenant; the second format
|
description: The top-level domain of the tenant; the second format
|
||||||
parameter in the default I(url_template).
|
parameter in the default O(url_template).
|
||||||
env:
|
env:
|
||||||
- name: DSV_TLD
|
- name: DSV_TLD
|
||||||
ini:
|
ini:
|
||||||
|
@ -47,7 +47,7 @@ options:
|
||||||
key: client_id
|
key: client_id
|
||||||
required: true
|
required: true
|
||||||
client_secret:
|
client_secret:
|
||||||
description: The client secret associated with the specific I(client_id).
|
description: The client secret associated with the specific O(client_id).
|
||||||
env:
|
env:
|
||||||
- name: DSV_CLIENT_SECRET
|
- name: DSV_CLIENT_SECRET
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -32,10 +32,10 @@ DOCUMENTATION = '''
|
||||||
default: false
|
default: false
|
||||||
endpoints:
|
endpoints:
|
||||||
description:
|
description:
|
||||||
- Counterpart of C(ETCDCTL_ENDPOINTS) environment variable.
|
- Counterpart of E(ETCDCTL_ENDPOINTS) environment variable.
|
||||||
Specify the etcd3 connection with and URL form eg. C(https://hostname:2379) or C(<host>:<port>) form.
|
Specify the etcd3 connection with and URL form, for example V(https://hostname:2379), or V(<host>:<port>) form.
|
||||||
- The C(host) part is overwritten by I(host) option, if defined.
|
- The V(host) part is overwritten by O(host) option, if defined.
|
||||||
- The C(port) part is overwritten by I(port) option, if defined.
|
- The V(port) part is overwritten by O(port) option, if defined.
|
||||||
env:
|
env:
|
||||||
- name: ETCDCTL_ENDPOINTS
|
- name: ETCDCTL_ENDPOINTS
|
||||||
default: '127.0.0.1:2379'
|
default: '127.0.0.1:2379'
|
||||||
|
@ -43,12 +43,12 @@ DOCUMENTATION = '''
|
||||||
host:
|
host:
|
||||||
description:
|
description:
|
||||||
- etcd3 listening client host.
|
- etcd3 listening client host.
|
||||||
- Takes precedence over I(endpoints).
|
- Takes precedence over O(endpoints).
|
||||||
type: str
|
type: str
|
||||||
port:
|
port:
|
||||||
description:
|
description:
|
||||||
- etcd3 listening client port.
|
- etcd3 listening client port.
|
||||||
- Takes precedence over I(endpoints).
|
- Takes precedence over O(endpoints).
|
||||||
type: int
|
type: int
|
||||||
ca_cert:
|
ca_cert:
|
||||||
description:
|
description:
|
||||||
|
@ -89,9 +89,9 @@ DOCUMENTATION = '''
|
||||||
type: str
|
type: str
|
||||||
|
|
||||||
notes:
|
notes:
|
||||||
- I(host) and I(port) options take precedence over (endpoints) option.
|
- O(host) and O(port) options take precedence over (endpoints) option.
|
||||||
- The recommended way to connect to etcd3 server is using C(ETCDCTL_ENDPOINT)
|
- The recommended way to connect to etcd3 server is using E(ETCDCTL_ENDPOINT)
|
||||||
environment variable and keep I(endpoints), I(host), and I(port) unused.
|
environment variable and keep O(endpoints), O(host), and O(port) unused.
|
||||||
seealso:
|
seealso:
|
||||||
- module: community.general.etcd3
|
- module: community.general.etcd3
|
||||||
- ref: ansible_collections.community.general.etcd_lookup
|
- ref: ansible_collections.community.general.etcd_lookup
|
||||||
|
|
|
@ -65,7 +65,7 @@ RETURN = r"""
|
||||||
src:
|
src:
|
||||||
description:
|
description:
|
||||||
- Full path to file.
|
- Full path to file.
|
||||||
- Not returned when I(item.state) is set to C(directory).
|
- Not returned when RV(_raw[].state) is set to V(directory).
|
||||||
type: path
|
type: path
|
||||||
root:
|
root:
|
||||||
description: Allows filtering by original location.
|
description: Allows filtering by original location.
|
||||||
|
|
|
@ -15,7 +15,7 @@ DOCUMENTATION = '''
|
||||||
description:
|
description:
|
||||||
- This lookup returns a list of results from an LMDB DB corresponding to a list of items given to it.
|
- This lookup returns a list of results from an LMDB DB corresponding to a list of items given to it.
|
||||||
requirements:
|
requirements:
|
||||||
- lmdb (python library https://lmdb.readthedocs.io/en/release/)
|
- lmdb (Python library U(https://lmdb.readthedocs.io/en/release/))
|
||||||
options:
|
options:
|
||||||
_terms:
|
_terms:
|
||||||
description: List of keys to query.
|
description: List of keys to query.
|
||||||
|
|
|
@ -19,7 +19,7 @@ DOCUMENTATION = """
|
||||||
options:
|
options:
|
||||||
_terms:
|
_terms:
|
||||||
description:
|
description:
|
||||||
- Depending on the value of I(pattern_type), this is a list of prefixes, suffixes, or regular expressions
|
- Depending on the value of O(pattern_type), this is a list of prefixes, suffixes, or regular expressions
|
||||||
that will be used to match all variables that should be merged.
|
that will be used to match all variables that should be merged.
|
||||||
required: true
|
required: true
|
||||||
type: list
|
type: list
|
||||||
|
@ -45,11 +45,11 @@ DOCUMENTATION = """
|
||||||
override:
|
override:
|
||||||
description:
|
description:
|
||||||
- Return an error, print a warning or ignore it when a key will be overwritten.
|
- Return an error, print a warning or ignore it when a key will be overwritten.
|
||||||
- The default behavior C(error) makes the plugin fail when a key would be overwritten.
|
- The default behavior V(error) makes the plugin fail when a key would be overwritten.
|
||||||
- When C(warn) and C(ignore) are used, note that it is important to know that the variables
|
- When V(warn) and V(ignore) are used, note that it is important to know that the variables
|
||||||
are sorted by name before being merged. Keys for later variables in this order will overwrite
|
are sorted by name before being merged. Keys for later variables in this order will overwrite
|
||||||
keys of the same name for variables earlier in this order. To avoid potential confusion,
|
keys of the same name for variables earlier in this order. To avoid potential confusion,
|
||||||
better use I(override=error) whenever possible.
|
better use O(override=error) whenever possible.
|
||||||
type: str
|
type: str
|
||||||
default: 'error'
|
default: 'error'
|
||||||
choices:
|
choices:
|
||||||
|
|
|
@ -18,7 +18,7 @@ DOCUMENTATION = '''
|
||||||
- C(op) 1Password command line utility. See U(https://support.1password.com/command-line/)
|
- C(op) 1Password command line utility. See U(https://support.1password.com/command-line/)
|
||||||
short_description: fetch field values from 1Password
|
short_description: fetch field values from 1Password
|
||||||
description:
|
description:
|
||||||
- C(onepassword) wraps the C(op) command line utility to fetch specific field values from 1Password.
|
- P(community.general.onepassword#lookup) wraps the C(op) command line utility to fetch specific field values from 1Password.
|
||||||
options:
|
options:
|
||||||
_terms:
|
_terms:
|
||||||
description: identifier(s) (UUID, name, or subdomain; case-insensitive) of item(s) to retrieve.
|
description: identifier(s) (UUID, name, or subdomain; case-insensitive) of item(s) to retrieve.
|
||||||
|
@ -47,8 +47,8 @@ DOCUMENTATION = '''
|
||||||
notes:
|
notes:
|
||||||
- This lookup will use an existing 1Password session if one exists. If not, and you have already
|
- This lookup will use an existing 1Password session if one exists. If not, and you have already
|
||||||
performed an initial sign in (meaning C(~/.op/config), C(~/.config/op/config) or C(~/.config/.op/config) exists), then only the
|
performed an initial sign in (meaning C(~/.op/config), C(~/.config/op/config) or C(~/.config/.op/config) exists), then only the
|
||||||
C(master_password) is required. You may optionally specify C(subdomain) in this scenario, otherwise the last used subdomain will be used by C(op).
|
C(master_password) is required. You may optionally specify O(subdomain) in this scenario, otherwise the last used subdomain will be used by C(op).
|
||||||
- This lookup can perform an initial login by providing C(subdomain), C(username), C(secret_key), and C(master_password).
|
- This lookup can perform an initial login by providing O(subdomain), O(username), O(secret_key), and O(master_password).
|
||||||
- Due to the B(very) sensitive nature of these credentials, it is B(highly) recommended that you only pass in the minimal credentials
|
- Due to the B(very) sensitive nature of these credentials, it is B(highly) recommended that you only pass in the minimal credentials
|
||||||
needed at any given time. Also, store these credentials in an Ansible Vault using a key that is equal to or greater in strength
|
needed at any given time. Also, store these credentials in an Ansible Vault using a key that is equal to or greater in strength
|
||||||
to the 1Password master password.
|
to the 1Password master password.
|
||||||
|
|
|
@ -18,7 +18,7 @@ DOCUMENTATION = '''
|
||||||
- C(op) 1Password command line utility. See U(https://support.1password.com/command-line/)
|
- C(op) 1Password command line utility. See U(https://support.1password.com/command-line/)
|
||||||
short_description: fetch an entire item from 1Password
|
short_description: fetch an entire item from 1Password
|
||||||
description:
|
description:
|
||||||
- C(onepassword_raw) wraps C(op) command line utility to fetch an entire item from 1Password
|
- P(community.general.onepassword_raw#lookup) wraps C(op) command line utility to fetch an entire item from 1Password.
|
||||||
options:
|
options:
|
||||||
_terms:
|
_terms:
|
||||||
description: identifier(s) (UUID, name, or domain; case-insensitive) of item(s) to retrieve.
|
description: identifier(s) (UUID, name, or domain; case-insensitive) of item(s) to retrieve.
|
||||||
|
@ -43,9 +43,9 @@ DOCUMENTATION = '''
|
||||||
description: Vault containing the item to retrieve (case-insensitive). If absent will search all vaults.
|
description: Vault containing the item to retrieve (case-insensitive). If absent will search all vaults.
|
||||||
notes:
|
notes:
|
||||||
- This lookup will use an existing 1Password session if one exists. If not, and you have already
|
- This lookup will use an existing 1Password session if one exists. If not, and you have already
|
||||||
performed an initial sign in (meaning C(~/.op/config exists)), then only the C(master_password) is required.
|
performed an initial sign in (meaning C(~/.op/config exists)), then only the O(master_password) is required.
|
||||||
You may optionally specify C(subdomain) in this scenario, otherwise the last used subdomain will be used by C(op).
|
You may optionally specify O(subdomain) in this scenario, otherwise the last used subdomain will be used by C(op).
|
||||||
- This lookup can perform an initial login by providing C(subdomain), C(username), C(secret_key), and C(master_password).
|
- This lookup can perform an initial login by providing O(subdomain), O(username), O(secret_key), and O(master_password).
|
||||||
- Due to the B(very) sensitive nature of these credentials, it is B(highly) recommended that you only pass in the minimal credentials
|
- Due to the B(very) sensitive nature of these credentials, it is B(highly) recommended that you only pass in the minimal credentials
|
||||||
needed at any given time. Also, store these credentials in an Ansible Vault using a key that is equal to or greater in strength
|
needed at any given time. Also, store these credentials in an Ansible Vault using a key that is equal to or greater in strength
|
||||||
to the 1Password master password.
|
to the 1Password master password.
|
||||||
|
|
|
@ -16,7 +16,7 @@ DOCUMENTATION = '''
|
||||||
- Enables Ansible to retrieve, create or update passwords from the passwordstore.org pass utility.
|
- Enables Ansible to retrieve, create or update passwords from the passwordstore.org pass utility.
|
||||||
It also retrieves YAML style keys stored as multilines in the passwordfile.
|
It also retrieves YAML style keys stored as multilines in the passwordfile.
|
||||||
- To avoid problems when accessing multiple secrets at once, add C(auto-expand-secmem) to
|
- To avoid problems when accessing multiple secrets at once, add C(auto-expand-secmem) to
|
||||||
C(~/.gnupg/gpg-agent.conf). Where this is not possible, consider using I(lock=readwrite) instead.
|
C(~/.gnupg/gpg-agent.conf). Where this is not possible, consider using O(lock=readwrite) instead.
|
||||||
options:
|
options:
|
||||||
_terms:
|
_terms:
|
||||||
description: query key.
|
description: query key.
|
||||||
|
@ -24,16 +24,16 @@ DOCUMENTATION = '''
|
||||||
directory:
|
directory:
|
||||||
description:
|
description:
|
||||||
- The directory of the password store.
|
- The directory of the password store.
|
||||||
- If I(backend=pass), the default is C(~/.password-store) is used.
|
- If O(backend=pass), the default is V(~/.password-store) is used.
|
||||||
- If I(backend=gopass), then the default is the C(path) field in C(~/.config/gopass/config.yml),
|
- If O(backend=gopass), then the default is the C(path) field in C(~/.config/gopass/config.yml),
|
||||||
falling back to C(~/.local/share/gopass/stores/root) if C(path) is not defined in the gopass config.
|
falling back to V(~/.local/share/gopass/stores/root) if C(path) is not defined in the gopass config.
|
||||||
type: path
|
type: path
|
||||||
vars:
|
vars:
|
||||||
- name: passwordstore
|
- name: passwordstore
|
||||||
env:
|
env:
|
||||||
- name: PASSWORD_STORE_DIR
|
- name: PASSWORD_STORE_DIR
|
||||||
create:
|
create:
|
||||||
description: Create the password if it does not already exist. Takes precedence over C(missing).
|
description: Create the password if it does not already exist. Takes precedence over O(missing).
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
overwrite:
|
overwrite:
|
||||||
|
@ -43,7 +43,7 @@ DOCUMENTATION = '''
|
||||||
umask:
|
umask:
|
||||||
description:
|
description:
|
||||||
- Sets the umask for the created .gpg files. The first octed must be greater than 3 (user readable).
|
- Sets the umask for the created .gpg files. The first octed must be greater than 3 (user readable).
|
||||||
- Note pass' default value is C('077').
|
- Note pass' default value is V('077').
|
||||||
env:
|
env:
|
||||||
- name: PASSWORD_STORE_UMASK
|
- name: PASSWORD_STORE_UMASK
|
||||||
version_added: 1.3.0
|
version_added: 1.3.0
|
||||||
|
@ -52,7 +52,7 @@ DOCUMENTATION = '''
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
subkey:
|
subkey:
|
||||||
description: Return a specific subkey of the password. When set to C(password), always returns the first line.
|
description: Return a specific subkey of the password. When set to V(password), always returns the first line.
|
||||||
type: str
|
type: str
|
||||||
default: password
|
default: password
|
||||||
userpass:
|
userpass:
|
||||||
|
@ -63,7 +63,7 @@ DOCUMENTATION = '''
|
||||||
type: integer
|
type: integer
|
||||||
default: 16
|
default: 16
|
||||||
backup:
|
backup:
|
||||||
description: Used with C(overwrite=true). Backup the previous password in a subkey.
|
description: Used with O(overwrite=true). Backup the previous password in a subkey.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
nosymbols:
|
nosymbols:
|
||||||
|
@ -73,10 +73,10 @@ DOCUMENTATION = '''
|
||||||
missing:
|
missing:
|
||||||
description:
|
description:
|
||||||
- List of preference about what to do if the password file is missing.
|
- List of preference about what to do if the password file is missing.
|
||||||
- If I(create=true), the value for this option is ignored and assumed to be C(create).
|
- If O(create=true), the value for this option is ignored and assumed to be V(create).
|
||||||
- If set to C(error), the lookup will error out if the passname does not exist.
|
- If set to V(error), the lookup will error out if the passname does not exist.
|
||||||
- If set to C(create), the passname will be created with the provided length I(length) if it does not exist.
|
- If set to V(create), the passname will be created with the provided length O(length) if it does not exist.
|
||||||
- If set to C(empty) or C(warn), will return a C(none) in case the passname does not exist.
|
- If set to V(empty) or V(warn), will return a V(none) in case the passname does not exist.
|
||||||
When using C(lookup) and not C(query), this will be translated to an empty string.
|
When using C(lookup) and not C(query), this will be translated to an empty string.
|
||||||
version_added: 3.1.0
|
version_added: 3.1.0
|
||||||
type: str
|
type: str
|
||||||
|
@ -89,9 +89,9 @@ DOCUMENTATION = '''
|
||||||
lock:
|
lock:
|
||||||
description:
|
description:
|
||||||
- How to synchronize operations.
|
- How to synchronize operations.
|
||||||
- The default of C(write) only synchronizes write operations.
|
- The default of V(write) only synchronizes write operations.
|
||||||
- C(readwrite) synchronizes all operations (including read). This makes sure that gpg-agent is never called in parallel.
|
- V(readwrite) synchronizes all operations (including read). This makes sure that gpg-agent is never called in parallel.
|
||||||
- C(none) does not do any synchronization.
|
- V(none) does not do any synchronization.
|
||||||
ini:
|
ini:
|
||||||
- section: passwordstore_lookup
|
- section: passwordstore_lookup
|
||||||
key: lock
|
key: lock
|
||||||
|
@ -104,8 +104,8 @@ DOCUMENTATION = '''
|
||||||
version_added: 4.5.0
|
version_added: 4.5.0
|
||||||
locktimeout:
|
locktimeout:
|
||||||
description:
|
description:
|
||||||
- Lock timeout applied when I(lock) is not C(none).
|
- Lock timeout applied when O(lock) is not V(none).
|
||||||
- Time with a unit suffix, C(s), C(m), C(h) for seconds, minutes, and hours, respectively. For example, C(900s) equals C(15m).
|
- Time with a unit suffix, V(s), V(m), V(h) for seconds, minutes, and hours, respectively. For example, V(900s) equals V(15m).
|
||||||
- Correlates with C(pinentry-timeout) in C(~/.gnupg/gpg-agent.conf), see C(man gpg-agent) for details.
|
- Correlates with C(pinentry-timeout) in C(~/.gnupg/gpg-agent.conf), see C(man gpg-agent) for details.
|
||||||
ini:
|
ini:
|
||||||
- section: passwordstore_lookup
|
- section: passwordstore_lookup
|
||||||
|
@ -116,8 +116,8 @@ DOCUMENTATION = '''
|
||||||
backend:
|
backend:
|
||||||
description:
|
description:
|
||||||
- Specify which backend to use.
|
- Specify which backend to use.
|
||||||
- Defaults to C(pass), passwordstore.org's original pass utility.
|
- Defaults to V(pass), passwordstore.org's original pass utility.
|
||||||
- C(gopass) support is incomplete.
|
- V(gopass) support is incomplete.
|
||||||
ini:
|
ini:
|
||||||
- section: passwordstore_lookup
|
- section: passwordstore_lookup
|
||||||
key: backend
|
key: backend
|
||||||
|
|
|
@ -42,25 +42,25 @@ DOCUMENTATION = r"""
|
||||||
- Special characters are taken from Python standard library C(string).
|
- Special characters are taken from Python standard library C(string).
|
||||||
See L(the documentation of string.punctuation,https://docs.python.org/3/library/string.html#string.punctuation)
|
See L(the documentation of string.punctuation,https://docs.python.org/3/library/string.html#string.punctuation)
|
||||||
for which characters will be used.
|
for which characters will be used.
|
||||||
- The choice of special characters can be changed to setting I(override_special).
|
- The choice of special characters can be changed to setting O(override_special).
|
||||||
default: true
|
default: true
|
||||||
type: bool
|
type: bool
|
||||||
min_numeric:
|
min_numeric:
|
||||||
description:
|
description:
|
||||||
- Minimum number of numeric characters in the string.
|
- Minimum number of numeric characters in the string.
|
||||||
- If set, overrides I(numbers=false).
|
- If set, overrides O(numbers=false).
|
||||||
default: 0
|
default: 0
|
||||||
type: int
|
type: int
|
||||||
min_upper:
|
min_upper:
|
||||||
description:
|
description:
|
||||||
- Minimum number of uppercase alphabets in the string.
|
- Minimum number of uppercase alphabets in the string.
|
||||||
- If set, overrides I(upper=false).
|
- If set, overrides O(upper=false).
|
||||||
default: 0
|
default: 0
|
||||||
type: int
|
type: int
|
||||||
min_lower:
|
min_lower:
|
||||||
description:
|
description:
|
||||||
- Minimum number of lowercase alphabets in the string.
|
- Minimum number of lowercase alphabets in the string.
|
||||||
- If set, overrides I(lower=false).
|
- If set, overrides O(lower=false).
|
||||||
default: 0
|
default: 0
|
||||||
type: int
|
type: int
|
||||||
min_special:
|
min_special:
|
||||||
|
@ -71,11 +71,11 @@ DOCUMENTATION = r"""
|
||||||
override_special:
|
override_special:
|
||||||
description:
|
description:
|
||||||
- Overide a list of special characters to use in the string.
|
- Overide a list of special characters to use in the string.
|
||||||
- If set I(min_special) should be set to a non-default value.
|
- If set O(min_special) should be set to a non-default value.
|
||||||
type: str
|
type: str
|
||||||
override_all:
|
override_all:
|
||||||
description:
|
description:
|
||||||
- Override all values of I(numbers), I(upper), I(lower), and I(special) with
|
- Override all values of O(numbers), O(upper), O(lower), and O(special) with
|
||||||
the given list of characters.
|
the given list of characters.
|
||||||
type: str
|
type: str
|
||||||
base64:
|
base64:
|
||||||
|
|
|
@ -25,7 +25,7 @@ options:
|
||||||
elements: string
|
elements: string
|
||||||
base_url:
|
base_url:
|
||||||
description:
|
description:
|
||||||
- This will be the base URL of the server, for example C(https://server-url-here).
|
- This will be the base URL of the server, for example V(https://server-url-here).
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
api_key:
|
api_key:
|
||||||
|
|
|
@ -13,8 +13,8 @@ short_description: Get secrets from Thycotic Secret Server
|
||||||
version_added: 1.0.0
|
version_added: 1.0.0
|
||||||
description:
|
description:
|
||||||
- Uses the Thycotic Secret Server Python SDK to get Secrets from Secret
|
- Uses the Thycotic Secret Server Python SDK to get Secrets from Secret
|
||||||
Server using token authentication with I(username) and I(password) on
|
Server using token authentication with O(username) and O(password) on
|
||||||
the REST API at I(base_url).
|
the REST API at O(base_url).
|
||||||
- When using self-signed certificates the environment variable
|
- When using self-signed certificates the environment variable
|
||||||
C(REQUESTS_CA_BUNDLE) can be set to a file containing the trusted certificates
|
C(REQUESTS_CA_BUNDLE) can be set to a file containing the trusted certificates
|
||||||
(in C(.pem) format).
|
(in C(.pem) format).
|
||||||
|
@ -36,7 +36,7 @@ options:
|
||||||
fetch_attachments:
|
fetch_attachments:
|
||||||
description:
|
description:
|
||||||
- Boolean flag which indicates whether attached files will get downloaded or not.
|
- Boolean flag which indicates whether attached files will get downloaded or not.
|
||||||
- The download will only happen if I(file_download_path) has been provided.
|
- The download will only happen if O(file_download_path) has been provided.
|
||||||
required: false
|
required: false
|
||||||
type: bool
|
type: bool
|
||||||
version_added: 7.0.0
|
version_added: 7.0.0
|
||||||
|
@ -46,7 +46,7 @@ options:
|
||||||
type: path
|
type: path
|
||||||
version_added: 7.0.0
|
version_added: 7.0.0
|
||||||
base_url:
|
base_url:
|
||||||
description: The base URL of the server, e.g. C(https://localhost/SecretServer).
|
description: The base URL of the server, for example V(https://localhost/SecretServer).
|
||||||
env:
|
env:
|
||||||
- name: TSS_BASE_URL
|
- name: TSS_BASE_URL
|
||||||
ini:
|
ini:
|
||||||
|
@ -63,7 +63,7 @@ options:
|
||||||
password:
|
password:
|
||||||
description:
|
description:
|
||||||
- The password associated with the supplied username.
|
- The password associated with the supplied username.
|
||||||
- Required when I(token) is not provided.
|
- Required when O(token) is not provided.
|
||||||
env:
|
env:
|
||||||
- name: TSS_PASSWORD
|
- name: TSS_PASSWORD
|
||||||
ini:
|
ini:
|
||||||
|
@ -73,7 +73,7 @@ options:
|
||||||
default: ""
|
default: ""
|
||||||
description:
|
description:
|
||||||
- The domain with which to request the OAuth2 Access Grant.
|
- The domain with which to request the OAuth2 Access Grant.
|
||||||
- Optional when I(token) is not provided.
|
- Optional when O(token) is not provided.
|
||||||
- Requires C(python-tss-sdk) version 1.0.0 or greater.
|
- Requires C(python-tss-sdk) version 1.0.0 or greater.
|
||||||
env:
|
env:
|
||||||
- name: TSS_DOMAIN
|
- name: TSS_DOMAIN
|
||||||
|
@ -85,7 +85,7 @@ options:
|
||||||
token:
|
token:
|
||||||
description:
|
description:
|
||||||
- Existing token for Thycotic authorizer.
|
- Existing token for Thycotic authorizer.
|
||||||
- If provided, I(username) and I(password) are not needed.
|
- If provided, O(username) and O(password) are not needed.
|
||||||
- Requires C(python-tss-sdk) version 1.0.0 or greater.
|
- Requires C(python-tss-sdk) version 1.0.0 or greater.
|
||||||
env:
|
env:
|
||||||
- name: TSS_TOKEN
|
- name: TSS_TOKEN
|
||||||
|
|
|
@ -35,10 +35,10 @@ attributes:
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- C(enabled) reloads firewall and enables firewall on boot.
|
- V(enabled) reloads firewall and enables firewall on boot.
|
||||||
- C(disabled) unloads firewall and disables firewall on boot.
|
- V(disabled) unloads firewall and disables firewall on boot.
|
||||||
- C(reloaded) reloads firewall.
|
- V(reloaded) reloads firewall.
|
||||||
- C(reset) disables and resets firewall to installation defaults.
|
- V(reset) disables and resets firewall to installation defaults.
|
||||||
type: str
|
type: str
|
||||||
choices: [ disabled, enabled, reloaded, reset ]
|
choices: [ disabled, enabled, reloaded, reset ]
|
||||||
default:
|
default:
|
||||||
|
@ -50,7 +50,7 @@ options:
|
||||||
direction:
|
direction:
|
||||||
description:
|
description:
|
||||||
- Select direction for a rule or default policy command. Mutually
|
- Select direction for a rule or default policy command. Mutually
|
||||||
exclusive with I(interface_in) and I(interface_out).
|
exclusive with O(interface_in) and O(interface_out).
|
||||||
type: str
|
type: str
|
||||||
choices: [ in, incoming, out, outgoing, routed ]
|
choices: [ in, incoming, out, outgoing, routed ]
|
||||||
logging:
|
logging:
|
||||||
|
@ -62,24 +62,24 @@ options:
|
||||||
description:
|
description:
|
||||||
- Insert the corresponding rule as rule number NUM.
|
- Insert the corresponding rule as rule number NUM.
|
||||||
- Note that ufw numbers rules starting with 1.
|
- Note that ufw numbers rules starting with 1.
|
||||||
- If I(delete=true) and a value is provided for I(insert),
|
- If O(delete=true) and a value is provided for O(insert),
|
||||||
then I(insert) is ignored.
|
then O(insert) is ignored.
|
||||||
type: int
|
type: int
|
||||||
insert_relative_to:
|
insert_relative_to:
|
||||||
description:
|
description:
|
||||||
- Allows to interpret the index in I(insert) relative to a position.
|
- Allows to interpret the index in O(insert) relative to a position.
|
||||||
- C(zero) interprets the rule number as an absolute index (i.e. 1 is
|
- V(zero) interprets the rule number as an absolute index (i.e. 1 is
|
||||||
the first rule).
|
the first rule).
|
||||||
- C(first-ipv4) interprets the rule number relative to the index of the
|
- V(first-ipv4) interprets the rule number relative to the index of the
|
||||||
first IPv4 rule, or relative to the position where the first IPv4 rule
|
first IPv4 rule, or relative to the position where the first IPv4 rule
|
||||||
would be if there is currently none.
|
would be if there is currently none.
|
||||||
- C(last-ipv4) interprets the rule number relative to the index of the
|
- V(last-ipv4) interprets the rule number relative to the index of the
|
||||||
last IPv4 rule, or relative to the position where the last IPv4 rule
|
last IPv4 rule, or relative to the position where the last IPv4 rule
|
||||||
would be if there is currently none.
|
would be if there is currently none.
|
||||||
- C(first-ipv6) interprets the rule number relative to the index of the
|
- V(first-ipv6) interprets the rule number relative to the index of the
|
||||||
first IPv6 rule, or relative to the position where the first IPv6 rule
|
first IPv6 rule, or relative to the position where the first IPv6 rule
|
||||||
would be if there is currently none.
|
would be if there is currently none.
|
||||||
- C(last-ipv6) interprets the rule number relative to the index of the
|
- V(last-ipv6) interprets the rule number relative to the index of the
|
||||||
last IPv6 rule, or relative to the position where the last IPv6 rule
|
last IPv6 rule, or relative to the position where the last IPv6 rule
|
||||||
would be if there is currently none.
|
would be if there is currently none.
|
||||||
type: str
|
type: str
|
||||||
|
@ -130,32 +130,32 @@ options:
|
||||||
delete:
|
delete:
|
||||||
description:
|
description:
|
||||||
- Delete rule.
|
- Delete rule.
|
||||||
- If I(delete=true) and a value is provided for I(insert),
|
- If O(delete=true) and a value is provided for O(insert),
|
||||||
then I(insert) is ignored.
|
then O(insert) is ignored.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
interface:
|
interface:
|
||||||
description:
|
description:
|
||||||
- Specify interface for the rule. The direction (in or out) used
|
- Specify interface for the rule. The direction (in or out) used
|
||||||
for the interface depends on the value of I(direction). See
|
for the interface depends on the value of O(direction). See
|
||||||
I(interface_in) and I(interface_out) for routed rules that needs
|
O(interface_in) and O(interface_out) for routed rules that needs
|
||||||
to supply both an input and output interface. Mutually
|
to supply both an input and output interface. Mutually
|
||||||
exclusive with I(interface_in) and I(interface_out).
|
exclusive with O(interface_in) and O(interface_out).
|
||||||
type: str
|
type: str
|
||||||
aliases: [ if ]
|
aliases: [ if ]
|
||||||
interface_in:
|
interface_in:
|
||||||
description:
|
description:
|
||||||
- Specify input interface for the rule. This is mutually
|
- Specify input interface for the rule. This is mutually
|
||||||
exclusive with I(direction) and I(interface). However, it is
|
exclusive with O(direction) and O(interface). However, it is
|
||||||
compatible with I(interface_out) for routed rules.
|
compatible with O(interface_out) for routed rules.
|
||||||
type: str
|
type: str
|
||||||
aliases: [ if_in ]
|
aliases: [ if_in ]
|
||||||
version_added: '0.2.0'
|
version_added: '0.2.0'
|
||||||
interface_out:
|
interface_out:
|
||||||
description:
|
description:
|
||||||
- Specify output interface for the rule. This is mutually
|
- Specify output interface for the rule. This is mutually
|
||||||
exclusive with I(direction) and I(interface). However, it is
|
exclusive with O(direction) and O(interface). However, it is
|
||||||
compatible with I(interface_in) for routed rules.
|
compatible with O(interface_in) for routed rules.
|
||||||
type: str
|
type: str
|
||||||
aliases: [ if_out ]
|
aliases: [ if_out ]
|
||||||
version_added: '0.2.0'
|
version_added: '0.2.0'
|
||||||
|
|
Loading…
Reference in New Issue