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

View file

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

View file

@ -13,7 +13,14 @@ DOCUMENTATION = r'''
module: cobbler_sync
short_description: Sync Cobbler
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:
host:
description:

View file

@ -13,7 +13,14 @@ DOCUMENTATION = r'''
module: cobbler_system
short_description: Manage system objects in Cobbler
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:
host:
description:

View file

@ -19,12 +19,18 @@ DOCUMENTATION = '''
module: dimensiondata_network
short_description: Create, update, and delete MCP 1.0 & 2.0 networks
extends_documentation_fragment:
- community.general.dimensiondata
- community.general.dimensiondata_wait
- 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:

View file

@ -15,12 +15,18 @@ DOCUMENTATION = '''
module: dimensiondata_vlan
short_description: Manage a VLAN in a Cloud Control network domain
extends_documentation_fragment:
- community.general.dimensiondata
- community.general.dimensiondata_wait
- 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:

View file

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

View file

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

View file

@ -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:
@ -40,7 +46,8 @@ options:
type: str
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:
- This module returns/displays a inventory details of nodes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
uuid:
description:
@ -42,7 +48,8 @@ options:
type: str
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.
extends_documentation_fragment:
- community.general.pritunl
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
name:
type: str

View file

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

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

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.
requirements:
- 'python >= 2.7'
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
url:
description: