mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add attributes to apache2, cobbler, dimensiondata, icinga2, lxca, pritunl, and spectrum modules (#5963)
Add attributes to apache2, cobbler, dimensiondata, icinga2, lxca, pritunl, and spectrum modules.
This commit is contained in:
parent
5b9ee78610
commit
673c79f6d9
14 changed files with 104 additions and 11 deletions
|
@ -20,6 +20,13 @@ description:
|
||||||
status page has to be enabled and accessible, as this module relies on parsing
|
status page has to be enabled and accessible, as this module relies on parsing
|
||||||
this page. This module supports ansible check_mode, and requires BeautifulSoup
|
this page. This module supports ansible check_mode, and requires BeautifulSoup
|
||||||
python module.
|
python module.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
balancer_url_suffix:
|
balancer_url_suffix:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -19,6 +19,13 @@ author:
|
||||||
short_description: Enables/disables a module of the Apache2 webserver
|
short_description: Enables/disables a module of the Apache2 webserver
|
||||||
description:
|
description:
|
||||||
- Enables or disables a specified module of the Apache2 webserver.
|
- Enables or disables a specified module of the Apache2 webserver.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -13,7 +13,14 @@ DOCUMENTATION = r'''
|
||||||
module: cobbler_sync
|
module: cobbler_sync
|
||||||
short_description: Sync Cobbler
|
short_description: Sync Cobbler
|
||||||
description:
|
description:
|
||||||
- Sync Cobbler to commit changes.
|
- Sync Cobbler to commit changes.
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
host:
|
host:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -13,7 +13,14 @@ DOCUMENTATION = r'''
|
||||||
module: cobbler_system
|
module: cobbler_system
|
||||||
short_description: Manage system objects in Cobbler
|
short_description: Manage system objects in Cobbler
|
||||||
description:
|
description:
|
||||||
- Add, modify or remove systems in Cobbler
|
- Add, modify or remove systems in Cobbler
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: full
|
||||||
options:
|
options:
|
||||||
host:
|
host:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -19,12 +19,18 @@ DOCUMENTATION = '''
|
||||||
module: dimensiondata_network
|
module: dimensiondata_network
|
||||||
short_description: Create, update, and delete MCP 1.0 & 2.0 networks
|
short_description: Create, update, and delete MCP 1.0 & 2.0 networks
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.dimensiondata
|
- community.general.dimensiondata
|
||||||
- community.general.dimensiondata_wait
|
- community.general.dimensiondata_wait
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
description:
|
description:
|
||||||
- Create, update, and delete MCP 1.0 & 2.0 networks
|
- Create, update, and delete MCP 1.0 & 2.0 networks
|
||||||
author: 'Aimon Bustardo (@aimonb)'
|
author: 'Aimon Bustardo (@aimonb)'
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -15,12 +15,18 @@ DOCUMENTATION = '''
|
||||||
module: dimensiondata_vlan
|
module: dimensiondata_vlan
|
||||||
short_description: Manage a VLAN in a Cloud Control network domain
|
short_description: Manage a VLAN in a Cloud Control network domain
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.dimensiondata
|
- community.general.dimensiondata
|
||||||
- community.general.dimensiondata_wait
|
- community.general.dimensiondata_wait
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
description:
|
description:
|
||||||
- Manage VLANs in Cloud Control network domains.
|
- Manage VLANs in Cloud Control network domains.
|
||||||
author: 'Adam Friedman (@tintoy)'
|
author: 'Adam Friedman (@tintoy)'
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -21,6 +21,13 @@ short_description: Manage Icinga2 feature
|
||||||
description:
|
description:
|
||||||
- This module can be used to enable or disable an Icinga2 feature.
|
- This module can be used to enable or disable an Icinga2 feature.
|
||||||
author: "Loic Blot (@nerzhul)"
|
author: "Loic Blot (@nerzhul)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -19,6 +19,11 @@ description:
|
||||||
- "Add or remove a host to Icinga2 through the API."
|
- "Add or remove a host to Icinga2 through the API."
|
||||||
- "See U(https://www.icinga.com/docs/icinga2/latest/doc/12-icinga2-api/)"
|
- "See U(https://www.icinga.com/docs/icinga2/latest/doc/12-icinga2-api/)"
|
||||||
author: "Jurgen Brand (@t794104)"
|
author: "Jurgen Brand (@t794104)"
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
url:
|
url:
|
||||||
type: str
|
type: str
|
||||||
|
@ -107,7 +112,8 @@ options:
|
||||||
description:
|
description:
|
||||||
- Dictionary of variables.
|
- Dictionary of variables.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- url
|
- ansible.builtin.url
|
||||||
|
- community.general.attributes
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -18,6 +18,12 @@ short_description: Custom module for lxca cmms inventory utility
|
||||||
description:
|
description:
|
||||||
- This module returns/displays a inventory details of cmms
|
- This module returns/displays a inventory details of cmms
|
||||||
|
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
|
|
||||||
options:
|
options:
|
||||||
uuid:
|
uuid:
|
||||||
description:
|
description:
|
||||||
|
@ -40,7 +46,8 @@ options:
|
||||||
type: str
|
type: str
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.lxca_common
|
- community.general.lxca_common
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,12 @@ short_description: Custom module for lxca nodes inventory utility
|
||||||
description:
|
description:
|
||||||
- This module returns/displays a inventory details of nodes
|
- This module returns/displays a inventory details of nodes
|
||||||
|
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
|
|
||||||
options:
|
options:
|
||||||
uuid:
|
uuid:
|
||||||
description:
|
description:
|
||||||
|
@ -42,7 +48,8 @@ options:
|
||||||
type: str
|
type: str
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.lxca_common
|
- community.general.lxca_common
|
||||||
|
- community.general.attributes
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,12 @@ description:
|
||||||
- A module to manage Pritunl organizations using the Pritunl API.
|
- A module to manage Pritunl organizations using the Pritunl API.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.pritunl
|
- community.general.pritunl
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -18,6 +18,12 @@ description:
|
||||||
- A module to manage Pritunl users using the Pritunl API.
|
- A module to manage Pritunl users using the Pritunl API.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.pritunl
|
- community.general.pritunl
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: none
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
organization:
|
organization:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -14,9 +14,16 @@ DOCUMENTATION = '''
|
||||||
module: spectrum_device
|
module: spectrum_device
|
||||||
short_description: Creates/deletes devices in CA Spectrum
|
short_description: Creates/deletes devices in CA Spectrum
|
||||||
description:
|
description:
|
||||||
- This module allows you to create and delete devices in CA Spectrum U(https://www.ca.com/us/products/ca-spectrum.html).
|
- This module allows you to create and delete devices in CA Spectrum U(https://www.ca.com/us/products/ca-spectrum.html).
|
||||||
- Tested on CA Spectrum 9.4.2, 10.1.1 and 10.2.1
|
- Tested on CA Spectrum 9.4.2, 10.1.1 and 10.2.1
|
||||||
author: "Renato Orgito (@orgito)"
|
author: "Renato Orgito (@orgito)"
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
device:
|
device:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -23,6 +23,13 @@ notes:
|
||||||
- Model creation and deletion are not possible with this module. For that use M(community.general.spectrum_device) instead.
|
- Model creation and deletion are not possible with this module. For that use M(community.general.spectrum_device) instead.
|
||||||
requirements:
|
requirements:
|
||||||
- 'python >= 2.7'
|
- 'python >= 2.7'
|
||||||
|
extends_documentation_fragment:
|
||||||
|
- community.general.attributes
|
||||||
|
attributes:
|
||||||
|
check_mode:
|
||||||
|
support: full
|
||||||
|
diff_mode:
|
||||||
|
support: none
|
||||||
options:
|
options:
|
||||||
url:
|
url:
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue