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
|
||||
this page. This module supports ansible check_mode, and requires BeautifulSoup
|
||||
python module.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
balancer_url_suffix:
|
||||
type: str
|
||||
|
|
|
@ -19,6 +19,13 @@ author:
|
|||
short_description: Enables/disables a module of the Apache2 webserver
|
||||
description:
|
||||
- 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:
|
||||
name:
|
||||
type: str
|
||||
|
|
|
@ -14,6 +14,13 @@ module: cobbler_sync
|
|||
short_description: Sync Cobbler
|
||||
description:
|
||||
- Sync Cobbler to commit changes.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
host:
|
||||
description:
|
||||
|
|
|
@ -14,6 +14,13 @@ module: cobbler_system
|
|||
short_description: Manage system objects in Cobbler
|
||||
description:
|
||||
- Add, modify or remove systems in Cobbler
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: full
|
||||
options:
|
||||
host:
|
||||
description:
|
||||
|
|
|
@ -21,10 +21,16 @@ short_description: Create, update, and delete MCP 1.0 & 2.0 networks
|
|||
extends_documentation_fragment:
|
||||
- community.general.dimensiondata
|
||||
- community.general.dimensiondata_wait
|
||||
- community.general.attributes
|
||||
|
||||
description:
|
||||
- Create, update, and delete MCP 1.0 & 2.0 networks
|
||||
author: 'Aimon Bustardo (@aimonb)'
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
|
|
@ -17,10 +17,16 @@ short_description: Manage a VLAN in a Cloud Control network domain
|
|||
extends_documentation_fragment:
|
||||
- community.general.dimensiondata
|
||||
- community.general.dimensiondata_wait
|
||||
- community.general.attributes
|
||||
|
||||
description:
|
||||
- Manage VLANs in Cloud Control network domains.
|
||||
author: 'Adam Friedman (@tintoy)'
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
|
|
@ -21,6 +21,13 @@ short_description: Manage Icinga2 feature
|
|||
description:
|
||||
- This module can be used to enable or disable an Icinga2 feature.
|
||||
author: "Loic Blot (@nerzhul)"
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
type: str
|
||||
|
|
|
@ -19,6 +19,11 @@ description:
|
|||
- "Add or remove a host to Icinga2 through the API."
|
||||
- "See U(https://www.icinga.com/docs/icinga2/latest/doc/12-icinga2-api/)"
|
||||
author: "Jurgen Brand (@t794104)"
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
url:
|
||||
type: str
|
||||
|
@ -107,7 +112,8 @@ options:
|
|||
description:
|
||||
- Dictionary of variables.
|
||||
extends_documentation_fragment:
|
||||
- url
|
||||
- ansible.builtin.url
|
||||
- community.general.attributes
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
|
@ -18,6 +18,12 @@ short_description: Custom module for lxca cmms inventory utility
|
|||
description:
|
||||
- This module returns/displays a inventory details of cmms
|
||||
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
|
||||
options:
|
||||
uuid:
|
||||
description:
|
||||
|
@ -41,6 +47,7 @@ options:
|
|||
|
||||
extends_documentation_fragment:
|
||||
- community.general.lxca_common
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -18,6 +18,12 @@ short_description: Custom module for lxca nodes inventory utility
|
|||
description:
|
||||
- This module returns/displays a inventory details of nodes
|
||||
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
|
||||
options:
|
||||
uuid:
|
||||
description:
|
||||
|
@ -43,6 +49,7 @@ options:
|
|||
|
||||
extends_documentation_fragment:
|
||||
- community.general.lxca_common
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -18,6 +18,12 @@ description:
|
|||
- A module to manage Pritunl organizations using the Pritunl API.
|
||||
extends_documentation_fragment:
|
||||
- community.general.pritunl
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
type: str
|
||||
|
|
|
@ -18,6 +18,12 @@ description:
|
|||
- A module to manage Pritunl users using the Pritunl API.
|
||||
extends_documentation_fragment:
|
||||
- community.general.pritunl
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
organization:
|
||||
type: str
|
||||
|
|
|
@ -17,6 +17,13 @@ description:
|
|||
- 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
|
||||
author: "Renato Orgito (@orgito)"
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
device:
|
||||
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.
|
||||
requirements:
|
||||
- 'python >= 2.7'
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
url:
|
||||
description:
|
||||
|
|
Loading…
Reference in a new issue