mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #5965/0ef80569 backport][stable-6] Add attributes to more modules (1/4) (#6022)
Add attributes to more modules (1/4) (#5965)
* Add attributes to more modules.
* Apply suggestions from code review.
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
---------
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
(cherry picked from commit 0ef805699d
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
611e024550
commit
ef09ea519c
35 changed files with 296 additions and 58 deletions
|
@ -29,8 +29,7 @@ options:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
- hpe3par_sdk >= 1.0.2. Install using 'pip install hpe3par_sdk'
|
- hpe3par_sdk >= 1.0.2. Install using C(pip install hpe3par_sdk).
|
||||||
- WSAPI service should be enabled on the 3PAR storage array.
|
- WSAPI service should be enabled on the 3PAR storage array.
|
||||||
notes:
|
notes:
|
||||||
- check_mode not supported
|
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -31,6 +31,11 @@ short_description: Create, Start, Stop, Restart or Terminate an Instance in ECS;
|
||||||
description:
|
description:
|
||||||
- Create, start, stop, restart, modify or terminate ecs instances.
|
- Create, start, stop, restart, modify or terminate ecs instances.
|
||||||
- Add or remove ecs instances to/from security group.
|
- Add or remove ecs instances to/from security group.
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
|
@ -252,6 +257,7 @@ requirements:
|
||||||
- "footmark >= 1.19.0"
|
- "footmark >= 1.19.0"
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.alicloud
|
- community.general.alicloud
|
||||||
|
- community.general.attributes
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -31,6 +31,12 @@ description:
|
||||||
C(new_release), either the 'release' parameter or a generated timestamp,
|
C(new_release), either the 'release' parameter or a generated timestamp,
|
||||||
C(new_release_path), the path to the new release folder (not created by the module)."
|
C(new_release_path), the path to the new release folder (not created by the module)."
|
||||||
|
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
|
|
||||||
options:
|
options:
|
||||||
path:
|
path:
|
||||||
type: path
|
type: path
|
||||||
|
@ -111,7 +117,9 @@ notes:
|
||||||
- Because of the default behaviour of generating the I(new_release) fact, this module will not be idempotent
|
- Because of the default behaviour of generating the I(new_release) fact, this module will not be idempotent
|
||||||
unless you pass your own release name with I(release). Due to the nature of deploying software, this should not
|
unless you pass your own release name with I(release). Due to the nature of deploying software, this should not
|
||||||
be much of a problem.
|
be much of a problem.
|
||||||
extends_documentation_fragment: files
|
extends_documentation_fragment:
|
||||||
|
- ansible.builtin.files
|
||||||
|
- community.general.attributes
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -21,6 +21,13 @@ author:
|
||||||
- Marcel Arns (@marns93)
|
- Marcel Arns (@marns93)
|
||||||
requirements:
|
requirements:
|
||||||
- heroku3
|
- heroku3
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
api_key:
|
api_key:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -14,7 +14,14 @@ module: honeybadger_deployment
|
||||||
author: "Benjamin Curtis (@stympy)"
|
author: "Benjamin Curtis (@stympy)"
|
||||||
short_description: Notify Honeybadger.io about app deployments
|
short_description: Notify Honeybadger.io about app deployments
|
||||||
description:
|
description:
|
||||||
- Notify Honeybadger.io about app deployments (see http://docs.honeybadger.io/article/188-deployment-tracking)
|
- Notify Honeybadger.io about app deployments (see U(http://docs.honeybadger.io/article/188-deployment-tracking)).
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
token:
|
token:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -15,7 +15,14 @@ module: hponcfg
|
||||||
author: Dag Wieers (@dagwieers)
|
author: Dag Wieers (@dagwieers)
|
||||||
short_description: Configure HP iLO interface using hponcfg
|
short_description: Configure HP iLO interface using hponcfg
|
||||||
description:
|
description:
|
||||||
- This modules configures the HP iLO interface using hponcfg.
|
- This modules configures the HP iLO interface using hponcfg.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
path:
|
path:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -13,15 +13,22 @@ DOCUMENTATION = r'''
|
||||||
module: imc_rest
|
module: imc_rest
|
||||||
short_description: Manage Cisco IMC hardware through its REST API
|
short_description: Manage Cisco IMC hardware through its REST API
|
||||||
description:
|
description:
|
||||||
- Provides direct access to the Cisco IMC REST API.
|
- Provides direct access to the Cisco IMC REST API.
|
||||||
- Perform any configuration changes and actions that the Cisco IMC supports.
|
- Perform any configuration changes and actions that the Cisco IMC supports.
|
||||||
- More information about the IMC REST API is available from
|
- More information about the IMC REST API is available from
|
||||||
U(http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/sw/api/3_0/b_Cisco_IMC_api_301.html)
|
U(http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/sw/api/3_0/b_Cisco_IMC_api_301.html).
|
||||||
author:
|
author:
|
||||||
- Dag Wieers (@dagwieers)
|
- Dag Wieers (@dagwieers)
|
||||||
requirements:
|
requirements:
|
||||||
- lxml
|
- lxml
|
||||||
- xmljson >= 0.1.8
|
- xmljson >= 0.1.8
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
hostname:
|
hostname:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -16,6 +16,13 @@ short_description: Manage SmartOS images
|
||||||
description:
|
description:
|
||||||
- Manage SmartOS virtual machine images through imgadm(1M)
|
- Manage SmartOS virtual machine images through imgadm(1M)
|
||||||
author: Jasper Lievisse Adriaanse (@jasperla)
|
author: Jasper Lievisse Adriaanse (@jasperla)
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
force:
|
force:
|
||||||
required: false
|
required: false
|
||||||
|
|
|
@ -15,6 +15,13 @@ description:
|
||||||
- Manage Infinity IPAM using REST API.
|
- Manage Infinity IPAM using REST API.
|
||||||
author:
|
author:
|
||||||
- Meirong Liu (@MeganLiu)
|
- Meirong Liu (@MeganLiu)
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
server_ip:
|
server_ip:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,6 +15,13 @@ short_description: Manage network namespaces
|
||||||
requirements: [ ip ]
|
requirements: [ ip ]
|
||||||
description:
|
description:
|
||||||
- Create or delete network namespaces using the ip command.
|
- Create or delete network namespaces using the ip command.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
required: false
|
required: false
|
||||||
|
|
|
@ -25,6 +25,15 @@ requirements:
|
||||||
notes:
|
notes:
|
||||||
- To make the DNS record changes effective, you need to run C(update dnsserver) on the ipwcli.
|
- To make the DNS record changes effective, you need to run C(update dnsserver) on the ipwcli.
|
||||||
|
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
|
|
||||||
options:
|
options:
|
||||||
dnsname:
|
dnsname:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -13,7 +13,14 @@ DOCUMENTATION = '''
|
||||||
module: linode
|
module: linode
|
||||||
short_description: Manage instances on the Linode Public Cloud
|
short_description: Manage instances on the Linode Public Cloud
|
||||||
description:
|
description:
|
||||||
- Manage Linode Public Cloud instances and optionally wait for it to be 'running'.
|
- Manage Linode Public Cloud instances and optionally wait for it to be 'running'.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -22,6 +22,13 @@ notes:
|
||||||
- No Linode resizing is currently implemented. This module will, in time,
|
- No Linode resizing is currently implemented. This module will, in time,
|
||||||
replace the current Linode module which uses deprecated API bindings on the
|
replace the current Linode module which uses deprecated API bindings on the
|
||||||
Linode side.
|
Linode side.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
region:
|
region:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -16,6 +16,13 @@ short_description: Manage LXC Containers
|
||||||
description:
|
description:
|
||||||
- Management of LXC containers.
|
- Management of LXC containers.
|
||||||
author: "Kevin Carter (@cloudnull)"
|
author: "Kevin Carter (@cloudnull)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -16,6 +16,13 @@ notes: []
|
||||||
short_description: Manage Netcup DNS records
|
short_description: Manage Netcup DNS records
|
||||||
description:
|
description:
|
||||||
- "Manages DNS records via the Netcup API, see the docs U(https://ccp.netcup.net/run/webservice/servers/endpoint.php)."
|
- "Manages DNS records via the Netcup API, see the docs U(https://ccp.netcup.net/run/webservice/servers/endpoint.php)."
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
api_key:
|
api_key:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -14,16 +14,23 @@ DOCUMENTATION = '''
|
||||||
module: ohai
|
module: ohai
|
||||||
short_description: Returns inventory data from I(Ohai)
|
short_description: Returns inventory data from I(Ohai)
|
||||||
description:
|
description:
|
||||||
- Similar to the M(community.general.facter) module, this runs the I(Ohai) discovery program
|
- Similar to the M(community.general.facter) module, this runs the I(Ohai) discovery program
|
||||||
(U(https://docs.chef.io/ohai.html)) on the remote host and
|
(U(https://docs.chef.io/ohai.html)) on the remote host and
|
||||||
returns JSON inventory data.
|
returns JSON inventory data.
|
||||||
I(Ohai) data is a bit more verbose and nested than I(facter).
|
I(Ohai) data is a bit more verbose and nested than I(facter).
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options: {}
|
options: {}
|
||||||
notes: []
|
notes: []
|
||||||
requirements: [ "ohai" ]
|
requirements: [ "ohai" ]
|
||||||
author:
|
author:
|
||||||
- "Ansible Core Team"
|
- "Ansible Core Team"
|
||||||
- "Michael DeHaan (@mpdehaan)"
|
- "Michael DeHaan (@mpdehaan)"
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -18,7 +18,14 @@ description: Manage OMAPI hosts into compatible DHCPd servers
|
||||||
requirements:
|
requirements:
|
||||||
- pypureomapi
|
- pypureomapi
|
||||||
author:
|
author:
|
||||||
- Loic Blot (@nerzhul)
|
- Loic Blot (@nerzhul)
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -12,13 +12,20 @@ DOCUMENTATION = r'''
|
||||||
---
|
---
|
||||||
module: open_iscsi
|
module: open_iscsi
|
||||||
author:
|
author:
|
||||||
- Serge van Ginderachter (@srvg)
|
- Serge van Ginderachter (@srvg)
|
||||||
short_description: Manage iSCSI targets with Open-iSCSI
|
short_description: Manage iSCSI targets with Open-iSCSI
|
||||||
description:
|
description:
|
||||||
- Discover targets on given portal, (dis)connect targets, mark targets to
|
- Discover targets on given portal, (dis)connect targets, mark targets to
|
||||||
manually or auto start, return device nodes of connected targets.
|
manually or auto start, return device nodes of connected targets.
|
||||||
requirements:
|
requirements:
|
||||||
- open_iscsi library and tools (iscsiadm)
|
- open_iscsi library and tools (iscsiadm)
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
portal:
|
portal:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -13,10 +13,17 @@ DOCUMENTATION = '''
|
||||||
module: opendj_backendprop
|
module: opendj_backendprop
|
||||||
short_description: Will update the backend configuration of OpenDJ via the dsconfig set-backend-prop command
|
short_description: Will update the backend configuration of OpenDJ via the dsconfig set-backend-prop command
|
||||||
description:
|
description:
|
||||||
- This module will update settings for OpenDJ with the command set-backend-prop.
|
- This module will update settings for OpenDJ with the command set-backend-prop.
|
||||||
- It will check first via de get-backend-prop if configuration needs to be applied.
|
- It will check first via de get-backend-prop if configuration needs to be applied.
|
||||||
author:
|
author:
|
||||||
- Werner Dijkerman (@dj-wasabi)
|
- Werner Dijkerman (@dj-wasabi)
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
opendj_bindir:
|
opendj_bindir:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,6 +15,13 @@ author:
|
||||||
short_description: Manage services on OpenWrt
|
short_description: Manage services on OpenWrt
|
||||||
description:
|
description:
|
||||||
- Controls OpenWrt services on remote hosts.
|
- Controls OpenWrt services on remote hosts.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -13,10 +13,17 @@ DOCUMENTATION = '''
|
||||||
module: pacemaker_cluster
|
module: pacemaker_cluster
|
||||||
short_description: Manage pacemaker clusters
|
short_description: Manage pacemaker clusters
|
||||||
author:
|
author:
|
||||||
- Mathieu Bultel (@matbu)
|
- Mathieu Bultel (@matbu)
|
||||||
description:
|
description:
|
||||||
- This module can manage a pacemaker cluster and nodes from Ansible using
|
- This module can manage a pacemaker cluster and nodes from Ansible using
|
||||||
the pacemaker cli.
|
the pacemaker cli.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -20,6 +20,13 @@ description:
|
||||||
requirements:
|
requirements:
|
||||||
- ipmctl and ndctl command line tools
|
- ipmctl and ndctl command line tools
|
||||||
- xmltodict
|
- xmltodict
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
appdirect:
|
appdirect:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -20,21 +20,28 @@ module: pubnub_blocks
|
||||||
short_description: PubNub blocks management module
|
short_description: PubNub blocks management module
|
||||||
description:
|
description:
|
||||||
- "This module allows Ansible to interface with the PubNub BLOCKS
|
- "This module allows Ansible to interface with the PubNub BLOCKS
|
||||||
infrastructure by providing the following operations: create / remove,
|
infrastructure by providing the following operations: create / remove,
|
||||||
start / stop and rename for blocks and create / modify / remove for event
|
start / stop and rename for blocks and create / modify / remove for event
|
||||||
handlers"
|
handlers."
|
||||||
author:
|
author:
|
||||||
- PubNub <support@pubnub.com> (@pubnub)
|
- PubNub <support@pubnub.com> (@pubnub)
|
||||||
- Sergey Mamontov <sergey@pubnub.com> (@parfeon)
|
- Sergey Mamontov <sergey@pubnub.com> (@parfeon)
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.7"
|
- "python >= 2.7"
|
||||||
- "pubnub_blocks_client >= 1.0"
|
- "pubnub_blocks_client >= 1.0"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
email:
|
email:
|
||||||
description:
|
description:
|
||||||
- Email from account for which new session should be started.
|
- Email from account for which new session should be started.
|
||||||
- "Not required if C(cache) contains result of previous module call (in
|
- "Not required if C(cache) contains result of previous module call (in
|
||||||
same play)."
|
same play)."
|
||||||
required: false
|
required: false
|
||||||
type: str
|
type: str
|
||||||
default: ''
|
default: ''
|
||||||
|
@ -42,7 +49,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Password which match to account to which specified C(email) belong.
|
- Password which match to account to which specified C(email) belong.
|
||||||
- "Not required if C(cache) contains result of previous module call (in
|
- "Not required if C(cache) contains result of previous module call (in
|
||||||
same play)."
|
same play)."
|
||||||
required: false
|
required: false
|
||||||
type: str
|
type: str
|
||||||
default: ''
|
default: ''
|
||||||
|
@ -57,14 +64,14 @@ options:
|
||||||
account:
|
account:
|
||||||
description:
|
description:
|
||||||
- "Name of PubNub account for from which C(application) will be used to
|
- "Name of PubNub account for from which C(application) will be used to
|
||||||
manage blocks."
|
manage blocks."
|
||||||
- "User's account will be used if value not set or empty."
|
- "User's account will be used if value not set or empty."
|
||||||
type: str
|
type: str
|
||||||
default: ''
|
default: ''
|
||||||
application:
|
application:
|
||||||
description:
|
description:
|
||||||
- "Name of target PubNub application for which blocks configuration on
|
- "Name of target PubNub application for which blocks configuration on
|
||||||
specific C(keyset) will be done."
|
specific C(keyset) will be done."
|
||||||
type: str
|
type: str
|
||||||
required: true
|
required: true
|
||||||
keyset:
|
keyset:
|
||||||
|
@ -75,7 +82,7 @@ options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- "Intended block state after event handlers creation / update process
|
- "Intended block state after event handlers creation / update process
|
||||||
will be completed."
|
will be completed."
|
||||||
required: false
|
required: false
|
||||||
default: 'present'
|
default: 'present'
|
||||||
choices: ['started', 'stopped', 'present', 'absent']
|
choices: ['started', 'stopped', 'present', 'absent']
|
||||||
|
@ -95,23 +102,23 @@ options:
|
||||||
event_handlers:
|
event_handlers:
|
||||||
description:
|
description:
|
||||||
- "List of event handlers which should be updated for specified block
|
- "List of event handlers which should be updated for specified block
|
||||||
C(name)."
|
C(name)."
|
||||||
- "Each entry for new event handler should contain: C(name), C(src),
|
- "Each entry for new event handler should contain: C(name), C(src),
|
||||||
C(channels), C(event). C(name) used as event handler name which can be
|
C(channels), C(event). C(name) used as event handler name which can be
|
||||||
used later to make changes to it."
|
used later to make changes to it."
|
||||||
- C(src) is full path to file with event handler code.
|
- C(src) is full path to file with event handler code.
|
||||||
- "C(channels) is name of channel from which event handler is waiting
|
- "C(channels) is name of channel from which event handler is waiting
|
||||||
for events."
|
for events."
|
||||||
- "C(event) is type of event which is able to trigger event handler:
|
- "C(event) is type of event which is able to trigger event handler:
|
||||||
I(js-before-publish), I(js-after-publish), I(js-after-presence)."
|
I(js-before-publish), I(js-after-publish), I(js-after-presence)."
|
||||||
- "Each entry for existing handlers should contain C(name) (so target
|
- "Each entry for existing handlers should contain C(name) (so target
|
||||||
handler can be identified). Rest parameters (C(src), C(channels) and
|
handler can be identified). Rest parameters (C(src), C(channels) and
|
||||||
C(event)) can be added if changes required for them."
|
C(event)) can be added if changes required for them."
|
||||||
- "It is possible to rename event handler by adding C(changes) key to
|
- "It is possible to rename event handler by adding C(changes) key to
|
||||||
event handler payload and pass dictionary, which will contain single key
|
event handler payload and pass dictionary, which will contain single key
|
||||||
C(name), where new name should be passed."
|
C(name), where new name should be passed."
|
||||||
- "To remove particular event handler it is possible to set C(state) for
|
- "To remove particular event handler it is possible to set C(state) for
|
||||||
it to C(absent) and it will be removed."
|
it to C(absent) and it will be removed."
|
||||||
required: false
|
required: false
|
||||||
default: []
|
default: []
|
||||||
type: list
|
type: list
|
||||||
|
@ -119,7 +126,7 @@ options:
|
||||||
changes:
|
changes:
|
||||||
description:
|
description:
|
||||||
- "List of fields which should be changed by block itself (doesn't
|
- "List of fields which should be changed by block itself (doesn't
|
||||||
affect any event handlers)."
|
affect any event handlers)."
|
||||||
- "Possible options for change is: C(name)."
|
- "Possible options for change is: C(name)."
|
||||||
required: false
|
required: false
|
||||||
default: {}
|
default: {}
|
||||||
|
@ -127,8 +134,8 @@ options:
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description:
|
description:
|
||||||
- "This key allow to try skip certificates check when performing REST API
|
- "This key allow to try skip certificates check when performing REST API
|
||||||
calls. Sometimes host may have issues with certificates on it and this
|
calls. Sometimes host may have issues with certificates on it and this
|
||||||
will cause problems to call PubNub REST API."
|
will cause problems to call PubNub REST API."
|
||||||
- If check should be ignored C(False) should be passed to this parameter.
|
- If check should be ignored C(False) should be passed to this parameter.
|
||||||
required: false
|
required: false
|
||||||
default: true
|
default: true
|
||||||
|
@ -224,9 +231,10 @@ EXAMPLES = '''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
module_cache:
|
module_cache:
|
||||||
description: "Cached account information. In case if with single play module
|
description:
|
||||||
used few times it is better to pass cached data to next module calls to speed
|
- Cached account information. In case if with single play module
|
||||||
up process."
|
used few times it is better to pass cached data to next module calls to speed
|
||||||
|
up process.
|
||||||
type: dict
|
type: dict
|
||||||
returned: always
|
returned: always
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -18,6 +18,11 @@ short_description: Add or remove Pulp repos from a remote host
|
||||||
description:
|
description:
|
||||||
- Add or remove Pulp repos from a remote host.
|
- Add or remove Pulp repos from a remote host.
|
||||||
- Note, this is for Pulp 2 only.
|
- Note, this is for Pulp 2 only.
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
add_export_distributor:
|
add_export_distributor:
|
||||||
description:
|
description:
|
||||||
|
@ -165,7 +170,8 @@ notes:
|
||||||
- This module can currently only create distributors and importers on rpm
|
- This module can currently only create distributors and importers on rpm
|
||||||
repositories. Contributions to support other repo types are welcome.
|
repositories. Contributions to support other repo types are welcome.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- url
|
- ansible.builtin.url
|
||||||
|
- community.general.attributes
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -14,6 +14,13 @@ module: puppet
|
||||||
short_description: Runs puppet
|
short_description: Runs puppet
|
||||||
description:
|
description:
|
||||||
- Runs I(puppet) agent or apply in a reliable manner.
|
- Runs I(puppet) agent or apply in a reliable manner.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
timeout:
|
timeout:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -16,7 +16,14 @@ requirements: [ pushbullet.py ]
|
||||||
module: pushbullet
|
module: pushbullet
|
||||||
short_description: Sends notifications to Pushbullet
|
short_description: Sends notifications to Pushbullet
|
||||||
description:
|
description:
|
||||||
- This module sends push notifications via Pushbullet to channels or devices.
|
- This module sends push notifications via Pushbullet to channels or devices.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
api_key:
|
api_key:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -14,11 +14,18 @@ DOCUMENTATION = '''
|
||||||
module: pushover
|
module: pushover
|
||||||
short_description: Send notifications via U(https://pushover.net)
|
short_description: Send notifications via U(https://pushover.net)
|
||||||
description:
|
description:
|
||||||
- Send notifications via pushover, to subscriber list of devices, and email
|
- Send notifications via pushover, to subscriber list of devices, and email
|
||||||
addresses. Requires pushover app on devices.
|
addresses. Requires pushover app on devices.
|
||||||
notes:
|
notes:
|
||||||
- You will require a pushover.net account to use this module. But no account
|
- You will require a pushover.net account to use this module. But no account
|
||||||
is required to receive messages.
|
is required to receive messages.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
msg:
|
msg:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -13,7 +13,14 @@ DOCUMENTATION = r'''
|
||||||
module: serverless
|
module: serverless
|
||||||
short_description: Manages a Serverless Framework project
|
short_description: Manages a Serverless Framework project
|
||||||
description:
|
description:
|
||||||
- Provides support for managing Serverless Framework (https://serverless.com/) project deployments and stacks.
|
- Provides support for managing Serverless Framework (U(https://serverless.com/)) project deployments and stacks.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,6 +15,13 @@ short_description: Create or cancel a virtual instance in SoftLayer
|
||||||
description:
|
description:
|
||||||
- Creates or cancels SoftLayer instances.
|
- Creates or cancels SoftLayer instances.
|
||||||
- When created, optionally waits for it to be 'running'.
|
- When created, optionally waits for it to be 'running'.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
instance_id:
|
instance_id:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -18,6 +18,11 @@ author:
|
||||||
description:
|
description:
|
||||||
- Create and delete CPG on HPE 3PAR.
|
- Create and delete CPG on HPE 3PAR.
|
||||||
module: ss_3par_cpg
|
module: ss_3par_cpg
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
cpg_name:
|
cpg_name:
|
||||||
description:
|
description:
|
||||||
|
@ -88,6 +93,7 @@ options:
|
||||||
default: false
|
default: false
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.hpe3par
|
- community.general.hpe3par
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,15 @@ description:
|
||||||
provides inline block-level deduplication, compression, and
|
provides inline block-level deduplication, compression, and
|
||||||
thin provisioning capabilities to primary storage.
|
thin provisioning capabilities to primary storage.
|
||||||
|
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
|
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -20,6 +20,11 @@ description:
|
||||||
through specific array ports.
|
through specific array ports.
|
||||||
author:
|
author:
|
||||||
- Sandeep Kasargod (@vexata)
|
- Sandeep Kasargod (@vexata)
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
@ -46,6 +51,7 @@ options:
|
||||||
type: str
|
type: str
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.vexata.vx100
|
- community.general.vexata.vx100
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,11 @@ description:
|
||||||
- Create, deletes or extend volumes on a Vexata VX100 array.
|
- Create, deletes or extend volumes on a Vexata VX100 array.
|
||||||
author:
|
author:
|
||||||
- Sandeep Kasargod (@vexata)
|
- Sandeep Kasargod (@vexata)
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
@ -35,6 +40,7 @@ options:
|
||||||
type: str
|
type: str
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.vexata.vx100
|
- community.general.vexata.vx100
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,14 @@ DOCUMENTATION = r'''
|
||||||
module: wakeonlan
|
module: wakeonlan
|
||||||
short_description: Send a magic Wake-on-LAN (WoL) broadcast packet
|
short_description: Send a magic Wake-on-LAN (WoL) broadcast packet
|
||||||
description:
|
description:
|
||||||
- The C(wakeonlan) module sends magic Wake-on-LAN (WoL) broadcast packets.
|
- The C(wakeonlan) module sends magic Wake-on-LAN (WoL) broadcast packets.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
mac:
|
mac:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -14,6 +14,13 @@ module: znode
|
||||||
short_description: Create, delete, retrieve, and update znodes using ZooKeeper
|
short_description: Create, delete, retrieve, and update znodes using ZooKeeper
|
||||||
description:
|
description:
|
||||||
- Create, delete, retrieve, and update znodes using ZooKeeper.
|
- Create, delete, retrieve, and update znodes using ZooKeeper.
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
options:
|
options:
|
||||||
hosts:
|
hosts:
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue