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 atomic, memset, one, oneview, packet, proxmox, and xenserver modules (#5958)

Add attributes to atomic, memset, one, oneview, packet, proxmox, and xenserver modules.
This commit is contained in:
Felix Fontein 2023-02-20 17:27:38 +01:00 committed by GitHub
parent 3186a944e9
commit ed79a68553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 241 additions and 26 deletions

View file

@ -22,6 +22,13 @@ notes:
requirements: requirements:
- atomic - atomic
- "python >= 2.6" - "python >= 2.6"
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
backend: backend:
description: description:

View file

@ -22,6 +22,13 @@ notes:
requirements: requirements:
- atomic - atomic
- python >= 2.6 - python >= 2.6
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
revision: revision:
description: description:

View file

@ -22,6 +22,13 @@ notes:
requirements: requirements:
- atomic - atomic
- python >= 2.6 - python >= 2.6
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
backend: backend:
description: description:

View file

@ -22,6 +22,13 @@ notes:
completed, then I(job.status) is also required. completed, then I(job.status) is also required.
description: description:
- Request a reload of Memset's DNS infrastructure, and optionally poll until it finishes. - Request a reload of Memset's DNS infrastructure, and optionally poll until it finishes.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
api_key: api_key:
required: true required: true

View file

@ -20,6 +20,13 @@ notes:
I(dns.zone_create), I(dns.zone_delete), I(dns.zone_list). I(dns.zone_create), I(dns.zone_delete), I(dns.zone_list).
description: description:
- Manage DNS zones in a Memset account. - Manage DNS zones in a Memset account.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
required: true required: true

View file

@ -22,6 +22,13 @@ notes:
be created using C(with_items). be created using C(with_items).
description: description:
- Manage DNS zone domains in a Memset account. - Manage DNS zone domains in a Memset account.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
default: present default: present

View file

@ -22,6 +22,13 @@ notes:
should be created using C(with_items). should be created using C(with_items).
description: description:
- Manage DNS records in a Memset account. - Manage DNS records in a Memset account.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
default: present default: present

View file

@ -23,6 +23,12 @@ requirements:
description: description:
- "Manages OpenNebula Hosts" - "Manages OpenNebula Hosts"
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
name: name:
description: description:
@ -78,7 +84,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.opennebula - community.general.opennebula
- community.general.attributes
author: author:
- Rafael del Valle (@rvalle) - Rafael del Valle (@rvalle)

View file

@ -16,6 +16,13 @@ description:
- Manages OpenNebula images - Manages OpenNebula images
requirements: requirements:
- pyone - pyone
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
api_url: api_url:
description: description:

View file

@ -14,6 +14,13 @@ module: one_service
short_description: Deploy and manage OpenNebula services short_description: Deploy and manage OpenNebula services
description: description:
- Manage OpenNebula services - Manage OpenNebula services
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
api_url: api_url:
description: description:

View file

@ -23,6 +23,14 @@ requirements:
description: description:
- "Manages OpenNebula templates." - "Manages OpenNebula templates."
attributes:
check_mode:
support: partial
details:
- Note that check mode always returns C(changed=true) for existing templates, even if the template would not actually change.
diff_mode:
support: none
options: options:
id: id:
description: description:
@ -47,11 +55,9 @@ options:
default: present default: present
type: str type: str
notes:
- Supports C(check_mode). Note that check mode always returns C(changed=true) for existing templates, even if the template would not actually change.
extends_documentation_fragment: extends_documentation_fragment:
- community.general.opennebula - community.general.opennebula
- community.general.attributes
author: author:
- "Georg Gadinger (@nilsding)" - "Georg Gadinger (@nilsding)"

View file

@ -17,6 +17,13 @@ description:
- Manages OpenNebula instances - Manages OpenNebula instances
requirements: requirements:
- pyone - pyone
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
api_url: api_url:
description: description:

View file

@ -19,6 +19,11 @@ author:
- Felipe Bulsoni (@fgbulsoni) - Felipe Bulsoni (@fgbulsoni)
- Thiago Miotto (@tmiotto) - Thiago Miotto (@tmiotto)
- Adriane Cardozo (@adriane-cardozo) - Adriane Cardozo (@adriane-cardozo)
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -37,6 +42,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.oneview - community.general.oneview
- community.general.oneview.validateetag - community.general.oneview.validateetag
- community.general.attributes
''' '''

View file

@ -16,6 +16,11 @@ description:
requirements: requirements:
- "hpOneView >= 4.0.0" - "hpOneView >= 4.0.0"
author: "Felipe Bulsoni (@fgbulsoni)" author: "Felipe Bulsoni (@fgbulsoni)"
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -34,6 +39,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.oneview - community.general.oneview
- community.general.oneview.validateetag - community.general.oneview.validateetag
- community.general.attributes
''' '''

View file

@ -17,6 +17,11 @@ requirements:
- "python >= 2.7.9" - "python >= 2.7.9"
- "hpOneView >= 4.0.0" - "hpOneView >= 4.0.0"
author: "Felipe Bulsoni (@fgbulsoni)" author: "Felipe Bulsoni (@fgbulsoni)"
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -35,6 +40,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.oneview - community.general.oneview
- community.general.oneview.validateetag - community.general.oneview.validateetag
- community.general.attributes
''' '''

View file

@ -20,6 +20,11 @@ author:
- Felipe Bulsoni (@fgbulsoni) - Felipe Bulsoni (@fgbulsoni)
- Thiago Miotto (@tmiotto) - Thiago Miotto (@tmiotto)
- Adriane Cardozo (@adriane-cardozo) - Adriane Cardozo (@adriane-cardozo)
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -37,6 +42,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.oneview - community.general.oneview
- community.general.oneview.validateetag - community.general.oneview.validateetag
- community.general.attributes
''' '''

View file

@ -19,6 +19,11 @@ author:
- Felipe Bulsoni (@fgbulsoni) - Felipe Bulsoni (@fgbulsoni)
- Thiago Miotto (@tmiotto) - Thiago Miotto (@tmiotto)
- Adriane Cardozo (@adriane-cardozo) - Adriane Cardozo (@adriane-cardozo)
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -37,6 +42,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.oneview - community.general.oneview
- community.general.oneview.validateetag - community.general.oneview.validateetag
- community.general.attributes
''' '''

View file

@ -19,6 +19,11 @@ author:
- Felipe Bulsoni (@fgbulsoni) - Felipe Bulsoni (@fgbulsoni)
- Thiago Miotto (@tmiotto) - Thiago Miotto (@tmiotto)
- Adriane Cardozo (@adriane-cardozo) - Adriane Cardozo (@adriane-cardozo)
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -38,6 +43,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.oneview - community.general.oneview
- community.general.oneview.validateetag - community.general.oneview.validateetag
- community.general.attributes
''' '''

View file

@ -28,6 +28,15 @@ author:
- Matt Baldwin (@baldwinSPC) <baldwin@stackpointcloud.com> - Matt Baldwin (@baldwinSPC) <baldwin@stackpointcloud.com>
- Thibaud Morel l'Horset (@teebes) <teebes@gmail.com> - Thibaud Morel l'Horset (@teebes) <teebes@gmail.com>
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
auth_token: auth_token:
description: description:
@ -149,9 +158,6 @@ options:
requirements: requirements:
- "packet-python >= 1.35" - "packet-python >= 1.35"
notes:
- Doesn't support check mode.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -28,6 +28,15 @@ author:
- Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com> - Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>
- Nurfet Becirevic (@nurfet-becirevic) <nurfet.becirevic@gmail.com> - Nurfet Becirevic (@nurfet-becirevic) <nurfet.becirevic@gmail.com>
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
auth_token: auth_token:
description: description:

View file

@ -26,6 +26,15 @@ author:
- Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com> - Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>
- Nurfet Becirevic (@nurfet-becirevic) <nurfet.becirevic@gmail.com> - Nurfet Becirevic (@nurfet-becirevic) <nurfet.becirevic@gmail.com>
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -16,6 +16,13 @@ description:
- Create/delete an SSH key in Packet host. - Create/delete an SSH key in Packet host.
- API is documented at U(https://www.packet.net/help/api/#page:ssh-keys,header:ssh-keys-ssh-keys-post). - API is documented at U(https://www.packet.net/help/api/#page:ssh-keys,header:ssh-keys-ssh-keys-post).
author: "Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>" author: "Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>"
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -25,6 +25,15 @@ author:
- Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com> - Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>
- Nurfet Becirevic (@nurfet-becirevic) <nurfet.becirevic@gmail.com> - Nurfet Becirevic (@nurfet-becirevic) <nurfet.becirevic@gmail.com>
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -29,6 +29,15 @@ author:
- Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com> - Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>
- Nurfet Becirevic (@nurfet-becirevic) <nurfet.becirevic@gmail.com> - Nurfet Becirevic (@nurfet-becirevic) <nurfet.becirevic@gmail.com>
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -16,6 +16,11 @@ description:
- allows you to create/delete/stop instances in Proxmox VE cluster - allows you to create/delete/stop instances in Proxmox VE cluster
- Starting in Ansible 2.1, it automatically detects containerization type (lxc for PVE 4, openvz for older) - Starting in Ansible 2.1, it automatically detects containerization type (lxc for PVE 4, openvz for older)
- Since community.general 4.0.0 on, there are no more default values, see I(proxmox_default_behavior). - Since community.general 4.0.0 on, there are no more default values, see I(proxmox_default_behavior).
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
password: password:
description: description:
@ -202,6 +207,7 @@ author: Sergei Antipov (@UnderGreen)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.proxmox.selection - community.general.proxmox.selection
- community.general.attributes
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -16,6 +16,11 @@ version_added: 5.7.0
description: description:
- Allows you to perform some supported operations on a disk in Qemu(KVM) Virtual Machines in a Proxmox VE cluster. - Allows you to perform some supported operations on a disk in Qemu(KVM) Virtual Machines in a Proxmox VE cluster.
author: "Castor Sky (@castorsky) <csky57@gmail.com>" author: "Castor Sky (@castorsky) <csky57@gmail.com>"
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
name: name:
description: description:
@ -311,6 +316,7 @@ options:
type: str type: str
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -16,6 +16,11 @@ description:
- Allows you to create/delete/stop Qemu(KVM) Virtual Machines in Proxmox VE cluster. - Allows you to create/delete/stop Qemu(KVM) Virtual Machines in Proxmox VE cluster.
- Since community.general 4.0.0 on, there are no more default values, see I(proxmox_default_behavior). - Since community.general 4.0.0 on, there are no more default values, see I(proxmox_default_behavior).
author: "Abdoul Bah (@helldorado) <bahabdoul at gmail.com>" author: "Abdoul Bah (@helldorado) <bahabdoul at gmail.com>"
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
acpi: acpi:
description: description:
@ -519,6 +524,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.proxmox.selection - community.general.proxmox.selection
- community.general.attributes
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -16,6 +16,11 @@ version_added: 3.1.0
description: description:
- Allows you to create/update/delete a NIC on Qemu(KVM) Virtual Machines in a Proxmox VE cluster. - Allows you to create/update/delete a NIC on Qemu(KVM) Virtual Machines in a Proxmox VE cluster.
author: "Lammert Hellinga (@Kogelvis) <lammert@hellinga.it>" author: "Lammert Hellinga (@Kogelvis) <lammert@hellinga.it>"
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
bridge: bridge:
description: description:
@ -90,6 +95,7 @@ options:
type: int type: int
extends_documentation_fragment: extends_documentation_fragment:
- community.general.proxmox.documentation - community.general.proxmox.documentation
- community.general.attributes
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -16,6 +16,11 @@ version_added: 2.0.0
description: description:
- Allows you to create/delete/restore snapshots from instances in Proxmox VE cluster. - Allows you to create/delete/restore snapshots from instances in Proxmox VE cluster.
- Supports both KVM and LXC, OpenVZ has not been tested, as it is no longer supported on Proxmox VE. - Supports both KVM and LXC, OpenVZ has not been tested, as it is no longer supported on Proxmox VE.
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
hostname: hostname:
description: description:
@ -72,11 +77,11 @@ options:
notes: notes:
- Requires proxmoxer and requests modules on host. These modules can be installed with pip. - Requires proxmoxer and requests modules on host. These modules can be installed with pip.
- Supports C(check_mode).
requirements: [ "proxmoxer", "python >= 2.7", "requests" ] requirements: [ "proxmoxer", "python >= 2.7", "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.documentation
- community.general.attributes
''' '''
EXAMPLES = r''' EXAMPLES = r'''

View file

@ -15,6 +15,11 @@ module: proxmox_template
short_description: Management of OS templates in Proxmox VE cluster short_description: Management of OS templates in Proxmox VE cluster
description: description:
- allows you to upload/delete templates in Proxmox VE cluster - allows you to upload/delete templates in Proxmox VE cluster
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
node: node:
description: description:
@ -62,7 +67,9 @@ options:
notes: notes:
- Requires C(proxmoxer) and C(requests) modules on host. This modules can be installed with M(ansible.builtin.pip). - Requires C(proxmoxer) and C(requests) modules on host. This modules can be installed with M(ansible.builtin.pip).
author: Sergei Antipov (@UnderGreen) author: Sergei Antipov (@UnderGreen)
extends_documentation_fragment: community.general.proxmox.documentation extends_documentation_fragment:
- community.general.proxmox.documentation
- community.general.attributes
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -46,6 +46,11 @@ notes:
requirements: requirements:
- python >= 2.6 - python >= 2.6
- XenAPI - XenAPI
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -286,6 +291,7 @@ options:
default: false default: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.xenserver.documentation - community.general.xenserver.documentation
- community.general.attributes
''' '''

View file

@ -30,6 +30,11 @@ notes:
requirements: requirements:
- python >= 2.6 - python >= 2.6
- XenAPI - XenAPI
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -67,6 +72,7 @@ options:
default: 0 default: 0
extends_documentation_fragment: extends_documentation_fragment:
- community.general.xenserver.documentation - community.general.xenserver.documentation
- community.general.attributes
''' '''