uvw*: style adjustments (#9515)
* uvw*: style adjustments * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> * adjustments from review * Update plugins/modules/utm_proxy_frontend.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/utm_proxy_frontend_info.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>pull/9534/head
parent
7c54c70301
commit
d2078be247
|
@ -16,8 +16,8 @@ author:
|
||||||
- Tobias Rüetschi (@keachi)
|
- Tobias Rüetschi (@keachi)
|
||||||
short_description: Manage DNS entries on a univention corporate server
|
short_description: Manage DNS entries on a univention corporate server
|
||||||
description:
|
description:
|
||||||
- This module allows to manage DNS records on a univention corporate server (UCS). It uses the Python API of the UCS to create a new object
|
- This module allows to manage DNS records on a univention corporate server (UCS). It uses the Python API of the UCS to
|
||||||
or edit it.
|
create a new object or edit it.
|
||||||
requirements:
|
requirements:
|
||||||
- Univention
|
- Univention
|
||||||
- ipaddress (for O(type=ptr_record))
|
- ipaddress (for O(type=ptr_record))
|
||||||
|
@ -51,8 +51,8 @@ options:
|
||||||
type: str
|
type: str
|
||||||
required: true
|
required: true
|
||||||
description:
|
description:
|
||||||
- Define the record type. V(host_record) is a A or AAAA record, V(alias) is a CNAME, V(ptr_record) is a PTR record, V(srv_record) is a SRV
|
- Define the record type. V(host_record) is a A or AAAA record, V(alias) is a CNAME, V(ptr_record) is a PTR record,
|
||||||
record and V(txt_record) is a TXT record.
|
V(srv_record) is a SRV record and V(txt_record) is a TXT record.
|
||||||
- 'The available choices are: V(host_record), V(alias), V(ptr_record), V(srv_record), V(txt_record).'
|
- 'The available choices are: V(host_record), V(alias), V(ptr_record), V(srv_record), V(txt_record).'
|
||||||
data:
|
data:
|
||||||
type: dict
|
type: dict
|
||||||
|
|
|
@ -16,8 +16,8 @@ author:
|
||||||
- Tobias Rüetschi (@keachi)
|
- Tobias Rüetschi (@keachi)
|
||||||
short_description: Manage DNS zones on a univention corporate server
|
short_description: Manage DNS zones on a univention corporate server
|
||||||
description:
|
description:
|
||||||
- This module allows to manage DNS zones on a univention corporate server (UCS). It uses the Python API of the UCS to create a new object or
|
- This module allows to manage DNS zones on a univention corporate server (UCS). It uses the Python API of the UCS to create
|
||||||
edit it.
|
a new object or edit it.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.attributes
|
- community.general.attributes
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
@ -16,8 +16,8 @@ author:
|
||||||
- Tobias Rüetschi (@keachi)
|
- Tobias Rüetschi (@keachi)
|
||||||
short_description: Manage of the posix group
|
short_description: Manage of the posix group
|
||||||
description:
|
description:
|
||||||
- This module allows to manage user groups on a univention corporate server (UCS). It uses the Python API of the UCS to create a new object
|
- This module allows to manage user groups on a univention corporate server (UCS). It uses the Python API of the UCS to
|
||||||
or edit it.
|
create a new object or edit it.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.attributes
|
- community.general.attributes
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
@ -16,8 +16,8 @@ author:
|
||||||
- Tobias Rüetschi (@keachi)
|
- Tobias Rüetschi (@keachi)
|
||||||
short_description: Manage samba shares on a univention corporate server
|
short_description: Manage samba shares on a univention corporate server
|
||||||
description:
|
description:
|
||||||
- This module allows to manage samba shares on a univention corporate server (UCS). It uses the Python API of the UCS to create a new object
|
- This module allows to manage samba shares on a univention corporate server (UCS). It uses the Python API of the UCS to
|
||||||
or edit it.
|
create a new object or edit it.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.attributes
|
- community.general.attributes
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
@ -16,11 +16,11 @@ author:
|
||||||
- Tobias Rüetschi (@keachi)
|
- Tobias Rüetschi (@keachi)
|
||||||
short_description: Manage posix users on a univention corporate server
|
short_description: Manage posix users on a univention corporate server
|
||||||
description:
|
description:
|
||||||
- This module allows to manage posix users on a univention corporate server (UCS). It uses the Python API of the UCS to create a new object
|
- This module allows to manage posix users on a univention corporate server (UCS). It uses the Python API of the UCS to
|
||||||
or edit it.
|
create a new object or edit it.
|
||||||
notes:
|
notes:
|
||||||
- This module requires the deprecated L(crypt Python module, https://docs.python.org/3.12/library/crypt.html) library which was removed from
|
- This module requires the deprecated L(crypt Python module, https://docs.python.org/3.12/library/crypt.html) library which
|
||||||
Python 3.13. For Python 3.13 or newer, you need to install L(legacycrypt, https://pypi.org/project/legacycrypt/).
|
was removed from Python 3.13. For Python 3.13 or newer, you need to install L(legacycrypt, https://pypi.org/project/legacycrypt/).
|
||||||
requirements:
|
requirements:
|
||||||
- legacycrypt (on Python 3.13 or newer)
|
- legacycrypt (on Python 3.13 or newer)
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
|
@ -104,7 +104,7 @@ options:
|
||||||
groups:
|
groups:
|
||||||
default: []
|
default: []
|
||||||
description:
|
description:
|
||||||
- 'POSIX groups, the LDAP DNs of the groups will be found with the LDAP filter for each group as $GROUP: V((&(objectClass=posixGroup\)(cn=$GROUP\)\)).'
|
- 'POSIX groups, the LDAP DNs of the groups is found with the LDAP filter for each group as $GROUP: V((&(objectClass=posixGroup\)(cn=$GROUP\)\)).'
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
home_share:
|
home_share:
|
||||||
|
@ -273,7 +273,8 @@ options:
|
||||||
default: always
|
default: always
|
||||||
choices: [always, on_create]
|
choices: [always, on_create]
|
||||||
description:
|
description:
|
||||||
- V(always) will update passwords if they differ. V(on_create) will only set the password for newly created users.
|
- V(always) updates passwords if they differ.
|
||||||
|
- V(on_create) only sets the password for newly created users.
|
||||||
type: str
|
type: str
|
||||||
ou:
|
ou:
|
||||||
default: ''
|
default: ''
|
||||||
|
|
|
@ -22,9 +22,9 @@ author:
|
||||||
- Ahti Kitsik (@ahtik)
|
- Ahti Kitsik (@ahtik)
|
||||||
notes:
|
notes:
|
||||||
- See C(man ufw) for more examples.
|
- See C(man ufw) for more examples.
|
||||||
- "B(Warning:) Whilst the module itself can be run using concurrent strategies, C(ufw) does not support concurrency, as firewall rules are meant
|
- B(Warning:) Whilst the module itself can be run using concurrent strategies, C(ufw) does not support concurrency, as firewall
|
||||||
to be ordered and parallel executions do not guarantee order. B(Do not use concurrency:) The results are unpredictable and the module may
|
rules are meant to be ordered and parallel executions do not guarantee order. B(Do not use concurrency:) The results are
|
||||||
fail silently if you do."
|
unpredictable and the module may fail silently if you do.
|
||||||
requirements:
|
requirements:
|
||||||
- C(ufw) package
|
- C(ufw) package
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
|
@ -69,14 +69,14 @@ options:
|
||||||
description:
|
description:
|
||||||
- Allows to interpret the index in O(insert) relative to a position.
|
- Allows to interpret the index in O(insert) relative to a position.
|
||||||
- V(zero) interprets the rule number as an absolute index (that is, 1 is the first rule).
|
- V(zero) interprets the rule number as an absolute index (that is, 1 is the first rule).
|
||||||
- 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
|
- V(first-ipv4) interprets the rule number relative to the index of the first IPv4 rule, or relative to the position
|
||||||
rule would be if there is currently none.
|
where the first IPv4 rule would be if there is currently none.
|
||||||
- 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
|
- V(last-ipv4) interprets the rule number relative to the index of the last IPv4 rule, or relative to the position where
|
||||||
would be if there is currently none.
|
the last IPv4 rule would be if there is currently none.
|
||||||
- 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
|
- V(first-ipv6) interprets the rule number relative to the index of the first IPv6 rule, or relative to the position
|
||||||
rule would be if there is currently none.
|
where the first IPv6 rule would be if there is currently none.
|
||||||
- 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
|
- V(last-ipv6) interprets the rule number relative to the index of the last IPv6 rule, or relative to the position where
|
||||||
would be if there is currently none.
|
the last IPv6 rule would be if there is currently none.
|
||||||
type: str
|
type: str
|
||||||
choices: [first-ipv4, first-ipv6, last-ipv4, last-ipv6, zero]
|
choices: [first-ipv4, first-ipv6, last-ipv4, last-ipv6, zero]
|
||||||
default: zero
|
default: zero
|
||||||
|
@ -130,22 +130,22 @@ options:
|
||||||
default: false
|
default: false
|
||||||
interface:
|
interface:
|
||||||
description:
|
description:
|
||||||
- Specify interface for the rule. The direction (in or out) used for the interface depends on the value of O(direction). See O(interface_in)
|
- Specify interface for the rule. The direction (in or out) used for the interface depends on the value of O(direction).
|
||||||
and O(interface_out) for routed rules that needs to supply both an input and output interface. Mutually exclusive with O(interface_in)
|
See O(interface_in) and O(interface_out) for routed rules that needs to supply both an input and output interface.
|
||||||
and O(interface_out).
|
Mutually 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 exclusive with O(direction) and O(interface). However, it is compatible with O(interface_out)
|
- Specify input interface for the rule. This is mutually exclusive with O(direction) and O(interface). However, it is
|
||||||
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 exclusive with O(direction) and O(interface). However, it is compatible with O(interface_in)
|
- Specify output interface for the rule. This is mutually exclusive with O(direction) and O(interface). However, it
|
||||||
for routed rules.
|
is 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'
|
||||||
|
|
|
@ -12,7 +12,7 @@ DOCUMENTATION = r"""
|
||||||
module: uptimerobot
|
module: uptimerobot
|
||||||
short_description: Pause and start Uptime Robot monitoring
|
short_description: Pause and start Uptime Robot monitoring
|
||||||
description:
|
description:
|
||||||
- This module will let you start and pause Uptime Robot Monitoring.
|
- This module lets you start and pause Uptime Robot Monitoring.
|
||||||
author: "Nate Kingsley (@nate-kingsley)"
|
author: "Nate Kingsley (@nate-kingsley)"
|
||||||
requirements:
|
requirements:
|
||||||
- Valid Uptime Robot API Key
|
- Valid Uptime Robot API Key
|
||||||
|
|
|
@ -54,7 +54,8 @@ options:
|
||||||
default: true
|
default: true
|
||||||
root:
|
root:
|
||||||
description:
|
description:
|
||||||
- Specifies an alternative install root, relative to which all packages will be installed. Corresponds to the C(--root) option for C(urpmi).
|
- Specifies an alternative install root, relative to which all packages are installed. Corresponds to the C(--root)
|
||||||
|
option for C(urpmi).
|
||||||
aliases: [installroot]
|
aliases: [installroot]
|
||||||
type: str
|
type: str
|
||||||
author:
|
author:
|
||||||
|
|
|
@ -77,7 +77,7 @@ result:
|
||||||
description: The comment string.
|
description: The comment string.
|
||||||
type: str
|
type: str
|
||||||
dynamic:
|
dynamic:
|
||||||
description: Whether the group match is ipsec_dn or directory_group.
|
description: Whether the group match is V(ipsec_dn) or V(directory_group).
|
||||||
type: str
|
type: str
|
||||||
edirectory_groups:
|
edirectory_groups:
|
||||||
description: List of eDirectory Groups.
|
description: List of eDirectory Groups.
|
||||||
|
|
|
@ -53,7 +53,7 @@ options:
|
||||||
interface:
|
interface:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- The reference name of the interface to use. If not provided the default interface will be used.
|
- The reference name of the interface to use. If not provided the default interface is used.
|
||||||
default: ''
|
default: ''
|
||||||
resolved:
|
resolved:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -207,7 +207,7 @@ result:
|
||||||
description: State of html rewrite.
|
description: State of html rewrite.
|
||||||
type: bool
|
type: bool
|
||||||
htmlrewrite_cookies:
|
htmlrewrite_cookies:
|
||||||
description: Whether the html rewrite cookie will be set.
|
description: Whether the HTML rewrite cookie is set.
|
||||||
type: bool
|
type: bool
|
||||||
implicitredirect:
|
implicitredirect:
|
||||||
description: Whether to use implicit redirection.
|
description: Whether to use implicit redirection.
|
||||||
|
|
|
@ -93,7 +93,7 @@ result:
|
||||||
description: State of html rewrite.
|
description: State of html rewrite.
|
||||||
type: bool
|
type: bool
|
||||||
htmlrewrite_cookies:
|
htmlrewrite_cookies:
|
||||||
description: Whether the html rewrite cookie will be set.
|
description: Whether the HTML rewrite cookie is set.
|
||||||
type: bool
|
type: bool
|
||||||
implicitredirect:
|
implicitredirect:
|
||||||
description: Whether to use implicit redirection.
|
description: Whether to use implicit redirection.
|
||||||
|
|
|
@ -92,7 +92,7 @@ options:
|
||||||
stickysession_id:
|
stickysession_id:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- The stickysession id.
|
- The stickysession ID.
|
||||||
default: ROUTEID
|
default: ROUTEID
|
||||||
stickysession_status:
|
stickysession_status:
|
||||||
description:
|
description:
|
||||||
|
@ -182,7 +182,7 @@ result:
|
||||||
description: Whether to use stickysession or not.
|
description: Whether to use stickysession or not.
|
||||||
type: bool
|
type: bool
|
||||||
websocket_passthrough:
|
websocket_passthrough:
|
||||||
description: Whether websocket passthrough will be used or not.
|
description: Whether websocket passthrough is used or not.
|
||||||
type: bool
|
type: bool
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ result:
|
||||||
description: Whether to use stickysession or not.
|
description: Whether to use stickysession or not.
|
||||||
type: bool
|
type: bool
|
||||||
websocket_passthrough:
|
websocket_passthrough:
|
||||||
description: Whether websocket passthrough will be used or not.
|
description: Whether websocket passthrough is used or not.
|
||||||
type: bool
|
type: bool
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ short_description: Module to control VDO
|
||||||
|
|
||||||
description:
|
description:
|
||||||
- This module controls the VDO dedupe and compression device.
|
- This module controls the VDO dedupe and compression device.
|
||||||
- VDO, or Virtual Data Optimizer, is a device-mapper target that provides inline block-level deduplication, compression, and thin provisioning
|
- VDO, or Virtual Data Optimizer, is a device-mapper target that provides inline block-level deduplication, compression,
|
||||||
capabilities to primary storage.
|
and thin provisioning capabilities to primary storage.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.attributes
|
- community.general.attributes
|
||||||
|
|
||||||
|
@ -38,19 +38,21 @@ options:
|
||||||
required: true
|
required: true
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Whether this VDO volume should be V(present) or V(absent). If a V(present) VDO volume does not exist, it will be created. If a V(present)
|
- Whether this VDO volume should be V(present) or V(absent). If a V(present) VDO volume does not exist, it is created.
|
||||||
VDO volume already exists, it will be modified, by updating the configuration, which will take effect when the VDO volume is restarted.
|
If a V(present) VDO volume already exists, it is modified by updating the configuration, which takes effect when the
|
||||||
Not all parameters of an existing VDO volume can be modified; the C(statusparamkeys) list in the code contains the parameters that can
|
VDO volume is restarted. Not all parameters of an existing VDO volume can be modified; the C(statusparamkeys) list
|
||||||
be modified after creation. If an V(absent) VDO volume does not exist, it will not be removed.
|
in the code contains the parameters that can be modified after creation. If an V(absent) VDO volume does not exist,
|
||||||
|
it is not removed.
|
||||||
type: str
|
type: str
|
||||||
choices: [absent, present]
|
choices: [absent, present]
|
||||||
default: present
|
default: present
|
||||||
activated:
|
activated:
|
||||||
description:
|
description:
|
||||||
- The C(activate) status for a VDO volume. If this is set to V(false), the VDO volume cannot be started, and it will not start on system
|
- The C(activate) status for a VDO volume. If this is set to V(false), the VDO volume cannot be started, and it will
|
||||||
startup. However, on initial creation, a VDO volume with "activated" set to "off" will be running, until stopped. This is the default
|
not start on system startup. However, on initial creation, a VDO volume with "activated" set to "off" will be running,
|
||||||
behavior of the C(vdo create) command; it provides the user an opportunity to write a base amount of metadata (filesystem, LVM headers,
|
until stopped. This is the default behavior of the C(vdo create) command; it provides the user an opportunity to write
|
||||||
and so on) to the VDO volume prior to stopping the volume, and leaving it deactivated until ready to use.
|
a base amount of metadata (filesystem, LVM headers, and so on) to the VDO volume prior to stopping the volume, and
|
||||||
|
leaving it deactivated until ready to use.
|
||||||
type: bool
|
type: bool
|
||||||
running:
|
running:
|
||||||
description:
|
description:
|
||||||
|
@ -64,131 +66,135 @@ options:
|
||||||
type: str
|
type: str
|
||||||
logicalsize:
|
logicalsize:
|
||||||
description:
|
description:
|
||||||
- The logical size of the VDO volume (in megabytes, or LVM suffix format). If not specified for a new volume, this defaults to the same
|
- The logical size of the VDO volume (in megabytes, or LVM suffix format). If not specified for a new volume, this defaults
|
||||||
size as the underlying storage device, which is specified in the O(device) parameter. Existing volumes will maintain their size if the
|
to the same size as the underlying storage device, which is specified in the O(device) parameter. Existing volumes
|
||||||
logicalsize parameter is not specified, or is smaller than or identical to the current size. If the specified size is larger than the
|
maintain their size if the O(logicalsize) parameter is not specified, or is smaller than or identical to the current
|
||||||
current size, a C(growlogical) operation will be performed.
|
size. If the specified size is larger than the current size, a C(growlogical) operation is performed.
|
||||||
type: str
|
type: str
|
||||||
deduplication:
|
deduplication:
|
||||||
description:
|
description:
|
||||||
- Configures whether deduplication is enabled. The default for a created volume is V(enabled). Existing volumes will maintain their previously
|
- Configures whether deduplication is enabled. The default for a created volume is V(enabled). Existing volumes maintain
|
||||||
configured setting unless a different value is specified in the playbook.
|
their previously configured setting unless a different value is specified in the playbook.
|
||||||
type: str
|
type: str
|
||||||
choices: [disabled, enabled]
|
choices: [disabled, enabled]
|
||||||
compression:
|
compression:
|
||||||
description:
|
description:
|
||||||
- Configures whether compression is enabled. The default for a created volume is V(enabled). Existing volumes will maintain their previously
|
- Configures whether compression is enabled. The default for a created volume is V(enabled). Existing volumes maintain
|
||||||
configured setting unless a different value is specified in the playbook.
|
their previously configured setting unless a different value is specified in the playbook.
|
||||||
type: str
|
type: str
|
||||||
choices: [disabled, enabled]
|
choices: [disabled, enabled]
|
||||||
blockmapcachesize:
|
blockmapcachesize:
|
||||||
description:
|
description:
|
||||||
- The amount of memory allocated for caching block map pages, in megabytes (or may be issued with an LVM-style suffix of K, M, G, or T).
|
- The amount of memory allocated for caching block map pages, in megabytes (or may be issued with an LVM-style suffix
|
||||||
The default (and minimum) value is V(128M). The value specifies the size of the cache; there is a 15% memory usage overhead. Each 1.25G
|
of K, M, G, or T). The default (and minimum) value is V(128M). The value specifies the size of the cache; there is
|
||||||
of block map covers 1T of logical blocks, therefore a small amount of block map cache memory can cache a significantly large amount of
|
a 15% memory usage overhead. Each 1.25G of block map covers 1T of logical blocks, therefore a small amount of block
|
||||||
block map data.
|
map cache memory can cache a significantly large amount of block map data.
|
||||||
- Existing volumes will maintain their previously configured setting unless a different value is specified in the playbook.
|
- Existing volumes maintain their previously configured setting unless a different value is specified in the playbook.
|
||||||
type: str
|
type: str
|
||||||
readcache:
|
readcache:
|
||||||
description:
|
description:
|
||||||
- Enables or disables the read cache. The default is V(disabled). Choosing V(enabled) enables a read cache which may improve performance
|
- Enables or disables the read cache. The default is V(disabled). Choosing V(enabled) enables a read cache which may
|
||||||
for workloads of high deduplication, read workloads with a high level of compression, or on hard disk storage. Existing volumes will maintain
|
improve performance for workloads of high deduplication, read workloads with a high level of compression, or on hard
|
||||||
their previously configured setting unless a different value is specified in the playbook.
|
disk storage. Existing volumes maintain their previously configured setting unless a different value is specified
|
||||||
|
in the playbook.
|
||||||
- The read cache feature is available in VDO 6.1 and older.
|
- The read cache feature is available in VDO 6.1 and older.
|
||||||
type: str
|
type: str
|
||||||
choices: [disabled, enabled]
|
choices: [disabled, enabled]
|
||||||
readcachesize:
|
readcachesize:
|
||||||
description:
|
description:
|
||||||
- Specifies the extra VDO device read cache size in megabytes. This is in addition to a system-defined minimum. Using a value with a suffix
|
- Specifies the extra VDO device read cache size in megabytes. This is in addition to a system-defined minimum. Using
|
||||||
of K, M, G, or T is optional. The default value is V(0). 1.125 MB of memory per bio thread will be used per 1 MB of read cache specified
|
a value with a suffix of K, M, G, or T is optional. The default value is V(0). 1.125 MB of memory per bio thread is
|
||||||
(for example, a VDO volume configured with 4 bio threads will have a read cache memory usage overhead of 4.5 MB per 1 MB of read cache
|
used per 1 MB of read cache specified (for example, a VDO volume configured with 4 bio threads has a read cache memory
|
||||||
specified). Existing volumes will maintain their previously configured setting unless a different value is specified in the playbook.
|
usage overhead of 4.5 MB per 1 MB of read cache specified). Existing volumes maintain their previously configured
|
||||||
|
setting unless a different value is specified in the playbook.
|
||||||
- The read cache feature is available in VDO 6.1 and older.
|
- The read cache feature is available in VDO 6.1 and older.
|
||||||
type: str
|
type: str
|
||||||
emulate512:
|
emulate512:
|
||||||
description:
|
description:
|
||||||
- Enables 512-byte emulation mode, allowing drivers or filesystems to access the VDO volume at 512-byte granularity, instead of the default
|
- Enables 512-byte emulation mode, allowing drivers or filesystems to access the VDO volume at 512-byte granularity,
|
||||||
4096-byte granularity.
|
instead of the default 4096-byte granularity.
|
||||||
- Only recommended when a driver or filesystem requires 512-byte sector level access to a device.
|
- Only recommended when a driver or filesystem requires 512-byte sector level access to a device.
|
||||||
- This option is only available when creating a new volume, and cannot be changed for an existing volume.
|
- This option is only available when creating a new volume, and cannot be changed for an existing volume.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
growphysical:
|
growphysical:
|
||||||
description:
|
description:
|
||||||
- Specifies whether to attempt to execute a C(growphysical) operation, if there is enough unused space on the device. A C(growphysical)
|
- Specifies whether to attempt to execute a C(growphysical) operation, if there is enough unused space on the device.
|
||||||
operation will be executed if there is at least 64 GB of free space, relative to the previous physical size of the affected VDO volume.
|
A C(growphysical) operation is executed if there is at least 64 GB of free space, relative to the previous physical
|
||||||
|
size of the affected VDO volume.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
slabsize:
|
slabsize:
|
||||||
description:
|
description:
|
||||||
- The size of the increment by which the physical size of a VDO volume is grown, in megabytes (or may be issued with an LVM-style suffix
|
- The size of the increment by which the physical size of a VDO volume is grown, in megabytes (or may be issued with
|
||||||
of K, M, G, or T). Must be a power of two between 128M and 32G. The default is V(2G), which supports volumes having a physical size up
|
an LVM-style suffix of K, M, G, or T). Must be a power of two between 128M and 32G. The default is V(2G), which supports
|
||||||
to 16T. The maximum, V(32G), supports a physical size of up to 256T. This option is only available when creating a new volume, and cannot
|
volumes having a physical size up to 16T. The maximum, V(32G), supports a physical size of up to 256T. This option
|
||||||
be changed for an existing volume.
|
is only available when creating a new volume, and cannot be changed for an existing volume.
|
||||||
type: str
|
type: str
|
||||||
writepolicy:
|
writepolicy:
|
||||||
description:
|
description:
|
||||||
- Specifies the write policy of the VDO volume.
|
- Specifies the write policy of the VDO volume.
|
||||||
- The V(sync) mode acknowledges writes only after data is on stable storage.
|
- The V(sync) mode acknowledges writes only after data is on stable storage.
|
||||||
- The V(async) mode acknowledges writes when data has been cached for writing to stable storage.
|
- The V(async) mode acknowledges writes when data has been cached for writing to stable storage.
|
||||||
- The default (and highly recommended) V(auto) mode checks the storage device to determine whether it supports flushes. Devices that support
|
- The default (and highly recommended) V(auto) mode checks the storage device to determine whether it supports flushes.
|
||||||
flushes will result in a VDO volume in V(async) mode, while devices that do not support flushes will run in V(sync) mode.
|
Devices that support flushes result in a VDO volume in V(async) mode, while devices that do not support flushes run
|
||||||
- Existing volumes will maintain their previously configured setting unless a different value is specified in the playbook.
|
in V(sync) mode.
|
||||||
|
- Existing volumes maintain their previously configured setting unless a different value is specified in the playbook.
|
||||||
type: str
|
type: str
|
||||||
choices: [async, auto, sync]
|
choices: [async, auto, sync]
|
||||||
indexmem:
|
indexmem:
|
||||||
description:
|
description:
|
||||||
- Specifies the amount of index memory in gigabytes. The default is V(0.25). The special decimal values V(0.25), V(0.5), and V(0.75) can
|
- Specifies the amount of index memory in gigabytes. The default is V(0.25). The special decimal values V(0.25), V(0.5),
|
||||||
be used, as can any positive integer. This option is only available when creating a new volume, and cannot be changed for an existing
|
and V(0.75) can be used, as can any positive integer. This option is only available when creating a new volume, and
|
||||||
volume.
|
cannot be changed for an existing volume.
|
||||||
type: str
|
type: str
|
||||||
indexmode:
|
indexmode:
|
||||||
description:
|
description:
|
||||||
- Specifies the index mode of the Albireo index.
|
- Specifies the index mode of the Albireo index.
|
||||||
- The default is V(dense), which has a deduplication window of 1 GB of index memory per 1 TB of incoming data, requiring 10 GB of index
|
- The default is V(dense), which has a deduplication window of 1 GB of index memory per 1 TB of incoming data, requiring
|
||||||
data on persistent storage.
|
10 GB of index data on persistent storage.
|
||||||
- The V(sparse) mode has a deduplication window of 1 GB of index memory per 10 TB of incoming data, but requires 100 GB of index data on
|
- The V(sparse) mode has a deduplication window of 1 GB of index memory per 10 TB of incoming data, but requires 100
|
||||||
persistent storage.
|
GB of index data on persistent storage.
|
||||||
- This option is only available when creating a new volume, and cannot be changed for an existing volume.
|
- This option is only available when creating a new volume, and cannot be changed for an existing volume.
|
||||||
type: str
|
type: str
|
||||||
choices: [dense, sparse]
|
choices: [dense, sparse]
|
||||||
ackthreads:
|
ackthreads:
|
||||||
description:
|
description:
|
||||||
- Specifies the number of threads to use for acknowledging completion of requested VDO I/O operations. Valid values are integer values from
|
- Specifies the number of threads to use for acknowledging completion of requested VDO I/O operations. Valid values
|
||||||
V(1) to V(100) (lower numbers are preferable due to overhead). The default is V(1). Existing volumes will maintain their previously configured
|
are integer values from V(1) to V(100) (lower numbers are preferable due to overhead). The default is V(1). Existing
|
||||||
setting unless a different value is specified in the playbook.
|
volumes maintain their previously configured setting unless a different value is specified in the playbook.
|
||||||
type: str
|
type: str
|
||||||
biothreads:
|
biothreads:
|
||||||
description:
|
description:
|
||||||
- Specifies the number of threads to use for submitting I/O operations to the storage device. Valid values are integer values from V(1)
|
- Specifies the number of threads to use for submitting I/O operations to the storage device. Valid values are integer
|
||||||
to V(100) (lower numbers are preferable due to overhead). The default is V(4). Existing volumes will maintain their previously configured
|
values from V(1) to V(100) (lower numbers are preferable due to overhead). The default is V(4). Existing volumes maintain
|
||||||
setting unless a different value is specified in the playbook.
|
their previously configured setting unless a different value is specified in the playbook.
|
||||||
type: str
|
type: str
|
||||||
cputhreads:
|
cputhreads:
|
||||||
description:
|
description:
|
||||||
- Specifies the number of threads to use for CPU-intensive work such as hashing or compression. Valid values are integer values from V(1)
|
- Specifies the number of threads to use for CPU-intensive work such as hashing or compression. Valid values are integer
|
||||||
to V(100) (lower numbers are preferable due to overhead). The default is V(2). Existing volumes will maintain their previously configured
|
values from V(1) to V(100) (lower numbers are preferable due to overhead). The default is V(2). Existing volumes maintain
|
||||||
setting unless a different value is specified in the playbook.
|
their previously configured setting unless a different value is specified in the playbook.
|
||||||
type: str
|
type: str
|
||||||
logicalthreads:
|
logicalthreads:
|
||||||
description:
|
description:
|
||||||
- Specifies the number of threads across which to subdivide parts of the VDO processing based on logical block addresses. Valid values are
|
- Specifies the number of threads across which to subdivide parts of the VDO processing based on logical block addresses.
|
||||||
integer values from V(1) to V(100) (lower numbers are preferable due to overhead). The default is V(1). Existing volumes will maintain
|
Valid values are integer values from V(1) to V(100) (lower numbers are preferable due to overhead). The default is
|
||||||
their previously configured setting unless a different value is specified in the playbook.
|
V(1). Existing volumes maintain their previously configured setting unless a different value is specified in the playbook.
|
||||||
type: str
|
type: str
|
||||||
physicalthreads:
|
physicalthreads:
|
||||||
description:
|
description:
|
||||||
- Specifies the number of threads across which to subdivide parts of the VDO processing based on physical block addresses. Valid values
|
- Specifies the number of threads across which to subdivide parts of the VDO processing based on physical block addresses.
|
||||||
are integer values from V(1) to V(16) (lower numbers are preferable due to overhead). The physical space used by the VDO volume must be
|
Valid values are integer values from V(1) to V(16) (lower numbers are preferable due to overhead). The physical space
|
||||||
larger than (O(slabsize) * O(physicalthreads)). The default is V(1). Existing volumes will maintain their previously configured setting
|
used by the VDO volume must be larger than (O(slabsize) * O(physicalthreads)). The default is V(1). Existing volumes
|
||||||
unless a different value is specified in the playbook.
|
maintain their previously configured setting unless a different value is specified in the playbook.
|
||||||
type: str
|
type: str
|
||||||
force:
|
force:
|
||||||
description:
|
description:
|
||||||
- When creating a volume, ignores any existing file system or VDO signature already present in the storage device. When stopping or removing
|
- When creating a volume, ignores any existing file system or VDO signature already present in the storage device. When
|
||||||
a VDO volume, first unmounts the file system stored on the device if mounted.
|
stopping or removing a VDO volume, first unmounts the file system stored on the device if mounted.
|
||||||
- B(Warning:) Since this parameter removes all safety checks it is important to make sure that all parameters provided are accurate and
|
- B(Warning:) Since this parameter removes all safety checks it is important to make sure that all parameters provided
|
||||||
intentional.
|
are accurate and intentional.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
version_added: 2.4.0
|
version_added: 2.4.0
|
||||||
|
|
|
@ -56,11 +56,11 @@ options:
|
||||||
type: str
|
type: str
|
||||||
notes:
|
notes:
|
||||||
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
||||||
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) is installed on the host and properly
|
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) is installed
|
||||||
configured.
|
on the host and properly configured.
|
||||||
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica) section of either
|
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica)
|
||||||
C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and C(DriverManagerEncoding = UTF-16) to
|
section of either C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and
|
||||||
be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
C(DriverManagerEncoding = UTF-16) to be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
||||||
requirements: ['unixODBC', 'pyodbc']
|
requirements: ['unixODBC', 'pyodbc']
|
||||||
author: "Dariusz Owczarek (@dareko)"
|
author: "Dariusz Owczarek (@dareko)"
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -42,11 +42,11 @@ options:
|
||||||
type: str
|
type: str
|
||||||
notes:
|
notes:
|
||||||
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
||||||
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) are installed on the host and properly
|
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) are installed
|
||||||
configured.
|
on the host and properly configured.
|
||||||
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica) section of either
|
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica)
|
||||||
C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and C(DriverManagerEncoding = UTF-16) to
|
section of either C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and
|
||||||
be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
C(DriverManagerEncoding = UTF-16) to be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
||||||
requirements: ['unixODBC', 'pyodbc']
|
requirements: ['unixODBC', 'pyodbc']
|
||||||
author: "Dariusz Owczarek (@dareko)"
|
author: "Dariusz Owczarek (@dareko)"
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -64,11 +64,11 @@ options:
|
||||||
type: str
|
type: str
|
||||||
notes:
|
notes:
|
||||||
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
||||||
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) is installed on the host and properly
|
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) is installed
|
||||||
configured.
|
on the host and properly configured.
|
||||||
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica) section of either
|
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica)
|
||||||
C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and C(DriverManagerEncoding = UTF-16) to
|
section of either C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and
|
||||||
be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
C(DriverManagerEncoding = UTF-16) to be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
||||||
requirements: ['unixODBC', 'pyodbc']
|
requirements: ['unixODBC', 'pyodbc']
|
||||||
author: "Dariusz Owczarek (@dareko)"
|
author: "Dariusz Owczarek (@dareko)"
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -14,8 +14,9 @@ module: vertica_schema
|
||||||
short_description: Adds or removes Vertica database schema and roles
|
short_description: Adds or removes Vertica database schema and roles
|
||||||
description:
|
description:
|
||||||
- Adds or removes Vertica database schema and, optionally, roles with schema access privileges.
|
- Adds or removes Vertica database schema and, optionally, roles with schema access privileges.
|
||||||
- A schema will not be removed until all the objects have been dropped.
|
- A schema is not removed until all the objects have been dropped.
|
||||||
- In such a situation, if the module tries to remove the schema it will fail and only remove roles created for the schema if they have no dependencies.
|
- In such a situation, if the module tries to remove the schema it fails and only remove roles created for the schema if
|
||||||
|
they have no dependencies.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.attributes
|
- community.general.attributes
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -75,11 +76,11 @@ options:
|
||||||
type: str
|
type: str
|
||||||
notes:
|
notes:
|
||||||
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
||||||
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) is installed on the host and properly
|
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) is installed
|
||||||
configured.
|
on the host and properly configured.
|
||||||
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica) section of either
|
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica)
|
||||||
C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and C(DriverManagerEncoding = UTF-16) to
|
section of either C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and
|
||||||
be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
C(DriverManagerEncoding = UTF-16) to be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
||||||
requirements: ['unixODBC', 'pyodbc']
|
requirements: ['unixODBC', 'pyodbc']
|
||||||
author: "Dariusz Owczarek (@dareko)"
|
author: "Dariusz Owczarek (@dareko)"
|
||||||
"""
|
"""
|
||||||
|
@ -92,7 +93,8 @@ EXAMPLES = r"""
|
||||||
community.general.vertica_schema: name=schema_name owner=dbowner db=db_name state=present
|
community.general.vertica_schema: name=schema_name owner=dbowner db=db_name state=present
|
||||||
|
|
||||||
- name: Creating a new schema with roles
|
- name: Creating a new schema with roles
|
||||||
community.general.vertica_schema: name=schema_name create_roles=schema_name_all usage_roles=schema_name_ro,schema_name_rw db=db_name state=present
|
community.general.vertica_schema: name=schema_name create_roles=schema_name_all usage_roles=schema_name_ro,schema_name_rw
|
||||||
|
db=db_name state=present
|
||||||
"""
|
"""
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@ module: vertica_user
|
||||||
short_description: Adds or removes Vertica database users and assigns roles
|
short_description: Adds or removes Vertica database users and assigns roles
|
||||||
description:
|
description:
|
||||||
- Adds or removes Vertica database user and, optionally, assigns roles.
|
- Adds or removes Vertica database user and, optionally, assigns roles.
|
||||||
- A user will not be removed until all the dependencies have been dropped.
|
- A user is not removed until all the dependencies have been dropped.
|
||||||
- In such a situation, if the module tries to remove the user it will fail and only remove roles granted to the user.
|
- In such a situation, if the module tries to remove the user it fails and only remove roles granted to the user.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.attributes
|
- community.general.attributes
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -40,8 +40,8 @@ options:
|
||||||
password:
|
password:
|
||||||
description:
|
description:
|
||||||
- The user's password encrypted by the MD5 algorithm.
|
- The user's password encrypted by the MD5 algorithm.
|
||||||
- The password must be generated with the format C("md5" + md5[password + username]), resulting in a total of 35 characters. An easy way
|
- The password must be generated with the format C("md5" + md5[password + username]), resulting in a total of 35 characters.
|
||||||
to do this is by querying the Vertica database with select V('md5'||md5('<user_password><user_name>'\)).
|
An easy way to do this is by querying the Vertica database with select V('md5'|| md5('<user_password><user_name>'\)).
|
||||||
type: str
|
type: str
|
||||||
expired:
|
expired:
|
||||||
description:
|
description:
|
||||||
|
@ -50,7 +50,7 @@ options:
|
||||||
ldap:
|
ldap:
|
||||||
description:
|
description:
|
||||||
- Set to V(true) if users are authenticated using LDAP.
|
- Set to V(true) if users are authenticated using LDAP.
|
||||||
- The user will be created with password expired and set to V($ldap$).
|
- The user is created with password expired and set to V($ldap$).
|
||||||
type: bool
|
type: bool
|
||||||
roles:
|
roles:
|
||||||
description:
|
description:
|
||||||
|
@ -88,11 +88,11 @@ options:
|
||||||
type: str
|
type: str
|
||||||
notes:
|
notes:
|
||||||
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
- The default authentication assumes that you are either logging in as or sudo'ing to the C(dbadmin) account on the host.
|
||||||
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) is installed on the host and properly
|
- This module uses C(pyodbc), a Python ODBC database adapter. You must ensure that C(unixODBC) and C(pyodbc) is installed
|
||||||
configured.
|
on the host and properly configured.
|
||||||
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica) section of either
|
- Configuring C(unixODBC) for Vertica requires C(Driver = /opt/vertica/lib64/libverticaodbc.so) to be added to the C(Vertica)
|
||||||
C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and C(DriverManagerEncoding = UTF-16) to
|
section of either C(/etc/odbcinst.ini) or C($HOME/.odbcinst.ini) and both C(ErrorMessagesPath = /opt/vertica/lib64) and
|
||||||
be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
C(DriverManagerEncoding = UTF-16) to be added to the C(Driver) section of either C(/etc/vertica.ini) or C($HOME/.vertica.ini).
|
||||||
requirements: ['unixODBC', 'pyodbc']
|
requirements: ['unixODBC', 'pyodbc']
|
||||||
author: "Dariusz Owczarek (@dareko)"
|
author: "Dariusz Owczarek (@dareko)"
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -14,8 +14,8 @@ module: vexata_eg
|
||||||
short_description: Manage export groups on Vexata VX100 storage arrays
|
short_description: Manage export groups on Vexata VX100 storage arrays
|
||||||
description:
|
description:
|
||||||
- Create or delete export groups on a Vexata VX100 array.
|
- Create or delete export groups on a Vexata VX100 array.
|
||||||
- An export group is a tuple of a volume group, initiator group and port group that allows a set of volumes to be exposed to one or more hosts
|
- An export group is a tuple of a volume group, initiator group and port group that allows a set of volumes to be exposed
|
||||||
through specific array ports.
|
to one or more hosts through specific array ports.
|
||||||
author:
|
author:
|
||||||
- Sandeep Kasargod (@vexata)
|
- Sandeep Kasargod (@vexata)
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
@ -26,7 +26,7 @@ options:
|
||||||
archive_on_delete:
|
archive_on_delete:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- When enabled, the zone dataset will be mounted on C(/zones/archive) upon removal.
|
- When enabled, the zone dataset is mounted on C(/zones/archive) upon removal.
|
||||||
type: bool
|
type: bool
|
||||||
autoboot:
|
autoboot:
|
||||||
required: false
|
required: false
|
||||||
|
@ -52,7 +52,8 @@ options:
|
||||||
cpu_shares:
|
cpu_shares:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- Sets a limit on the number of fair share scheduler (FSS) CPU shares for a VM. This limit is relative to all other VMs on the system.
|
- Sets a limit on the number of fair share scheduler (FSS) CPU shares for a VM. This limit is relative to all other
|
||||||
|
VMs on the system.
|
||||||
type: int
|
type: int
|
||||||
cpu_type:
|
cpu_type:
|
||||||
required: false
|
required: false
|
||||||
|
@ -141,7 +142,8 @@ options:
|
||||||
internal_metadata_namespace:
|
internal_metadata_namespace:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- List of namespaces to be set as C(internal_metadata-only); these namespaces will come from O(internal_metadata) rather than O(customer_metadata).
|
- List of namespaces to be set as C(internal_metadata-only); these namespaces come from O(internal_metadata) rather
|
||||||
|
than O(customer_metadata).
|
||||||
type: str
|
type: str
|
||||||
kernel_version:
|
kernel_version:
|
||||||
required: false
|
required: false
|
||||||
|
@ -156,7 +158,7 @@ options:
|
||||||
maintain_resolvers:
|
maintain_resolvers:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- Resolvers in C(/etc/resolv.conf) will be updated when updating the O(resolvers) property.
|
- Resolvers in C(/etc/resolv.conf) are updated when updating the O(resolvers) property.
|
||||||
type: bool
|
type: bool
|
||||||
max_locked_memory:
|
max_locked_memory:
|
||||||
required: false
|
required: false
|
||||||
|
@ -208,7 +210,8 @@ options:
|
||||||
qemu_opts:
|
qemu_opts:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- Additional qemu arguments for KVM guests. This overwrites the default arguments provided by vmadm(1M) and should only be used for debugging.
|
- Additional qemu arguments for KVM guests. This overwrites the default arguments provided by vmadm(1M) and should only
|
||||||
|
be used for debugging.
|
||||||
type: str
|
type: str
|
||||||
qemu_extra_opts:
|
qemu_extra_opts:
|
||||||
required: false
|
required: false
|
||||||
|
@ -234,7 +237,7 @@ options:
|
||||||
routes:
|
routes:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- Dictionary that maps destinations to gateways, these will be set as static routes in the VM.
|
- Dictionary that maps destinations to gateways, these are set as static routes in the VM.
|
||||||
type: dict
|
type: dict
|
||||||
spice_opts:
|
spice_opts:
|
||||||
required: false
|
required: false
|
||||||
|
@ -244,20 +247,22 @@ options:
|
||||||
spice_password:
|
spice_password:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- Password required to connect to SPICE. By default no password is set. Please note this can be read from the Global Zone.
|
- Password required to connect to SPICE. By default no password is set. Please note this can be read from the Global
|
||||||
|
Zone.
|
||||||
type: str
|
type: str
|
||||||
state:
|
state:
|
||||||
choices: [present, running, absent, deleted, stopped, created, restarted, rebooted]
|
choices: [present, running, absent, deleted, stopped, created, restarted, rebooted]
|
||||||
default: running
|
default: running
|
||||||
description:
|
description:
|
||||||
- States for the VM to be in. Please note that V(present), V(stopped) and V(restarted) operate on a VM that is currently provisioned. V(present)
|
- States for the VM to be in. Please note that V(present), V(stopped) and V(restarted) operate on a VM that is currently
|
||||||
means that the VM will be created if it was absent, and that it will be in a running state. V(absent) will shutdown the zone before removing
|
provisioned. V(present) means that the VM is created if it was absent, and that it is in a running state. V(absent)
|
||||||
it. V(stopped) means the zone will be created if it does not exist already, before shutting it down.
|
shutdowns the zone before removing it. V(stopped) means the zone is created if it does not exist already, before shutting
|
||||||
|
it down.
|
||||||
type: str
|
type: str
|
||||||
tmpfs:
|
tmpfs:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- Amount of memory (in MiBs) that will be available in the VM for the C(/tmp) filesystem.
|
- Amount of memory (in MiBs) that is available in the VM for the C(/tmp) filesystem.
|
||||||
type: int
|
type: int
|
||||||
uuid:
|
uuid:
|
||||||
required: false
|
required: false
|
||||||
|
@ -332,7 +337,7 @@ options:
|
||||||
zpool:
|
zpool:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- ZFS pool the VM's zone dataset will be created in.
|
- ZFS pool the VM's zone dataset is created in.
|
||||||
type: str
|
type: str
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue