1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add proxmox action group (#8334)

Add proxmox module defaults group.
This commit is contained in:
Felix Fontein 2024-05-12 10:03:06 +02:00 committed by GitHub
parent 7f4f066e86
commit 7dd7cbdba8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 97 additions and 12 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- "proxmox* modules - there is now a ``community.general.proxmox`` module defaults group that can be used to set default options for all Proxmox modules (https://github.com/ansible-collections/community.general/pull/8334)."

View file

@ -12,6 +12,23 @@ action_groups:
- consul_role - consul_role
- consul_session - consul_session
- consul_token - consul_token
proxmox:
- proxmox
- proxmox_disk
- proxmox_domain_info
- proxmox_group_info
- proxmox_kvm
- proxmox_nic
- proxmox_node_info
- proxmox_pool
- proxmox_pool_member
- proxmox_snap
- proxmox_storage_contents_info
- proxmox_storage_info
- proxmox_tasks_info
- proxmox_template
- proxmox_user_info
- proxmox_vm_info
plugin_routing: plugin_routing:
callback: callback:
actionable: actionable:

View file

@ -65,3 +65,13 @@ options:
- Add the new VM to the specified pool. - Add the new VM to the specified pool.
type: str type: str
''' '''
ACTIONGROUP_PROXMOX = r"""
options: {}
attributes:
action_group:
description: Use C(group/community.general.proxmox) in C(module_defaults) to set defaults for this module.
support: full
membership:
- community.general.proxmox
"""

View file

@ -21,6 +21,8 @@ attributes:
support: none support: none
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 9.0.0
options: options:
password: password:
description: description:
@ -216,6 +218,7 @@ author: Sergei Antipov (@UnderGreen)
seealso: seealso:
- module: community.general.proxmox_vm_info - module: community.general.proxmox_vm_info
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.proxmox.selection - community.general.proxmox.selection
- community.general.attributes - community.general.attributes

View file

@ -21,6 +21,8 @@ attributes:
support: none support: none
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 9.0.0
options: options:
name: name:
description: description:
@ -325,6 +327,7 @@ options:
- The drive's worldwide name, encoded as 16 bytes hex string, prefixed by V(0x). - The drive's worldwide name, encoded as 16 bytes hex string, prefixed by V(0x).
type: str type: str
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes - community.general.attributes
''' '''

View file

@ -16,6 +16,9 @@ short_description: Retrieve information about one or more Proxmox VE domains
version_added: 1.3.0 version_added: 1.3.0
description: description:
- Retrieve information about one or more Proxmox VE domains. - Retrieve information about one or more Proxmox VE domains.
attributes:
action_group:
version_added: 9.0.0
options: options:
domain: domain:
description: description:
@ -24,6 +27,7 @@ options:
type: str type: str
author: Tristan Le Guern (@tleguern) author: Tristan Le Guern (@tleguern)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes - community.general.attributes
- community.general.attributes.info_module - community.general.attributes.info_module

View file

@ -16,6 +16,9 @@ short_description: Retrieve information about one or more Proxmox VE groups
version_added: 1.3.0 version_added: 1.3.0
description: description:
- Retrieve information about one or more Proxmox VE groups - Retrieve information about one or more Proxmox VE groups
attributes:
action_group:
version_added: 9.0.0
options: options:
group: group:
description: description:
@ -24,6 +27,7 @@ options:
type: str type: str
author: Tristan Le Guern (@tleguern) author: Tristan Le Guern (@tleguern)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes - community.general.attributes
- community.general.attributes.info_module - community.general.attributes.info_module

View file

@ -21,6 +21,8 @@ attributes:
support: none support: none
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 9.0.0
options: options:
archive: archive:
description: description:
@ -579,6 +581,7 @@ options:
seealso: seealso:
- module: community.general.proxmox_vm_info - module: community.general.proxmox_vm_info
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.proxmox.selection - community.general.proxmox.selection
- community.general.attributes - community.general.attributes

View file

@ -21,6 +21,8 @@ attributes:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 9.0.0
options: options:
bridge: bridge:
description: description:
@ -94,6 +96,7 @@ options:
- Specifies the instance ID. - Specifies the instance ID.
type: int type: int
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes - community.general.attributes
''' '''

View file

@ -17,7 +17,11 @@ version_added: 8.2.0
description: description:
- Retrieve information about one or more Proxmox VE nodes. - Retrieve information about one or more Proxmox VE nodes.
author: John Berninger (@jwbernin) author: John Berninger (@jwbernin)
attributes:
action_group:
version_added: 9.0.0
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes - community.general.attributes
- community.general.attributes.info_module - community.general.attributes.info_module

View file

@ -21,6 +21,8 @@ attributes:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 9.0.0
options: options:
poolid: poolid:
description: description:
@ -42,8 +44,9 @@ options:
type: str type: str
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.documentation - community.general.proxmox.actiongroup_proxmox
- community.general.attributes - community.general.proxmox.documentation
- community.general.attributes
""" """
EXAMPLES = """ EXAMPLES = """

View file

@ -20,6 +20,8 @@ attributes:
support: full support: full
diff_mode: diff_mode:
support: full support: full
action_group:
version_added: 9.0.0
options: options:
poolid: poolid:
description: description:
@ -48,8 +50,9 @@ options:
type: str type: str
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.documentation - community.general.proxmox.actiongroup_proxmox
- community.general.attributes - community.general.proxmox.documentation
- community.general.attributes
""" """
EXAMPLES = """ EXAMPLES = """

View file

@ -21,6 +21,8 @@ attributes:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 9.0.0
options: options:
hostname: hostname:
description: description:
@ -89,8 +91,9 @@ notes:
requirements: [ "proxmoxer", "requests" ] requirements: [ "proxmoxer", "requests" ]
author: Jeffrey van Pelt (@Thulium-Drake) author: Jeffrey van Pelt (@Thulium-Drake)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.documentation - community.general.proxmox.actiongroup_proxmox
- community.general.attributes - community.general.proxmox.documentation
- community.general.attributes
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -17,6 +17,9 @@ short_description: List content from a Proxmox VE storage
version_added: 8.2.0 version_added: 8.2.0
description: description:
- Retrieves information about stored objects on a specific storage attached to a node. - Retrieves information about stored objects on a specific storage attached to a node.
attributes:
action_group:
version_added: 9.0.0
options: options:
storage: storage:
description: description:
@ -41,6 +44,7 @@ options:
type: int type: int
author: Julian Vanden Broeck (@l00ptr) author: Julian Vanden Broeck (@l00ptr)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes - community.general.attributes
- community.general.attributes.info_module - community.general.attributes.info_module

View file

@ -16,6 +16,9 @@ short_description: Retrieve information about one or more Proxmox VE storages
version_added: 2.2.0 version_added: 2.2.0
description: description:
- Retrieve information about one or more Proxmox VE storages. - Retrieve information about one or more Proxmox VE storages.
attributes:
action_group:
version_added: 9.0.0
options: options:
storage: storage:
description: description:
@ -28,6 +31,7 @@ options:
type: str type: str
author: Tristan Le Guern (@tleguern) author: Tristan Le Guern (@tleguern)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes - community.general.attributes
- community.general.attributes.info_module - community.general.attributes.info_module

View file

@ -17,6 +17,9 @@ version_added: 3.8.0
description: description:
- Retrieve information about one or more Proxmox VE tasks. - Retrieve information about one or more Proxmox VE tasks.
author: 'Andreas Botzner (@paginabianca) <andreas at botzner dot com>' author: 'Andreas Botzner (@paginabianca) <andreas at botzner dot com>'
attributes:
action_group:
version_added: 9.0.0
options: options:
node: node:
description: description:
@ -29,9 +32,10 @@ options:
aliases: ['upid', 'name'] aliases: ['upid', 'name']
type: str type: str
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.documentation - community.general.proxmox.actiongroup_proxmox
- community.general.attributes - community.general.proxmox.documentation
- community.general.attributes.info_module - community.general.attributes
- community.general.attributes.info_module
''' '''

View file

@ -20,6 +20,8 @@ attributes:
support: none support: none
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 9.0.0
options: options:
node: node:
description: description:
@ -69,6 +71,7 @@ notes:
- C(proxmoxer) >= 1.2.0 requires C(requests_toolbelt) to upload files larger than 256 MB. - C(proxmoxer) >= 1.2.0 requires C(requests_toolbelt) to upload files larger than 256 MB.
author: Sergei Antipov (@UnderGreen) author: Sergei Antipov (@UnderGreen)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes - community.general.attributes
''' '''

View file

@ -16,6 +16,9 @@ short_description: Retrieve information about one or more Proxmox VE users
version_added: 1.3.0 version_added: 1.3.0
description: description:
- Retrieve information about one or more Proxmox VE users - Retrieve information about one or more Proxmox VE users
attributes:
action_group:
version_added: 9.0.0
options: options:
domain: domain:
description: description:
@ -33,6 +36,7 @@ options:
type: str type: str
author: Tristan Le Guern (@tleguern) author: Tristan Le Guern (@tleguern)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.actiongroup_proxmox
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes - community.general.attributes
- community.general.attributes.info_module - community.general.attributes.info_module

View file

@ -17,6 +17,9 @@ version_added: 7.2.0
description: description:
- Retrieve information about one or more Proxmox VE virtual machines. - Retrieve information about one or more Proxmox VE virtual machines.
author: 'Sergei Antipov (@UnderGreen) <greendayonfire at gmail dot com>' author: 'Sergei Antipov (@UnderGreen) <greendayonfire at gmail dot com>'
attributes:
action_group:
version_added: 9.0.0
options: options:
node: node:
description: description:
@ -55,9 +58,10 @@ options:
default: none default: none
version_added: 8.1.0 version_added: 8.1.0
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.documentation - community.general.proxmox.actiongroup_proxmox
- community.general.attributes - community.general.proxmox.documentation
- community.general.attributes.info_module - community.general.attributes
- community.general.attributes.info_module
""" """
EXAMPLES = """ EXAMPLES = """