1
0
Fork 0
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:
Felix Fontein 2023-02-24 09:24:37 +01:00 committed by GitHub
parent 5b9ee78610
commit 673c79f6d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 104 additions and 11 deletions

View file

@ -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

View file

@ -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

View file

@ -14,6 +14,13 @@ 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:

View file

@ -14,6 +14,13 @@ 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:

View file

@ -21,10 +21,16 @@ 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:

View file

@ -17,10 +17,16 @@ 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:

View file

@ -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

View file

@ -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 = '''

View file

@ -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:
@ -41,6 +47,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.lxca_common - community.general.lxca_common
- community.general.attributes
''' '''

View file

@ -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:
@ -43,6 +49,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.lxca_common - community.general.lxca_common
- community.general.attributes
''' '''

View file

@ -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

View file

@ -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

View file

@ -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). - 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

View file

@ -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: