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

[PR #5958/ed79a685 backport][stable-6] Add attributes to atomic, memset, one, oneview, packet, proxmox, and xenserver modules (#6019)

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.

(cherry picked from commit ed79a68553)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2023-02-20 17:42:08 +01:00 committed by GitHub
parent 2f05cd3330
commit 9350954aa3
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:
- atomic
- "python >= 2.6"
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
backend:
description:

View file

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

View file

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

View file

@ -22,6 +22,13 @@ notes:
completed, then I(job.status) is also required.
description:
- 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:
api_key:
required: true

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -23,6 +23,14 @@ requirements:
description:
- "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:
id:
description:
@ -47,11 +55,9 @@ options:
default: present
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:
- community.general.opennebula
- community.general.attributes
author:
- "Georg Gadinger (@nilsding)"

View file

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

View file

@ -19,6 +19,11 @@ author:
- Felipe Bulsoni (@fgbulsoni)
- Thiago Miotto (@tmiotto)
- Adriane Cardozo (@adriane-cardozo)
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
state:
description:
@ -35,8 +40,9 @@ options:
type: dict
required: true
extends_documentation_fragment:
- community.general.oneview
- community.general.oneview.validateetag
- community.general.oneview
- community.general.oneview.validateetag
- community.general.attributes
'''

View file

@ -16,6 +16,11 @@ description:
requirements:
- "hpOneView >= 4.0.0"
author: "Felipe Bulsoni (@fgbulsoni)"
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
state:
description:
@ -32,8 +37,9 @@ options:
required: true
extends_documentation_fragment:
- community.general.oneview
- community.general.oneview.validateetag
- community.general.oneview
- community.general.oneview.validateetag
- community.general.attributes
'''

View file

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

View file

@ -20,6 +20,11 @@ author:
- Felipe Bulsoni (@fgbulsoni)
- Thiago Miotto (@tmiotto)
- Adriane Cardozo (@adriane-cardozo)
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
state:
description:
@ -35,8 +40,9 @@ options:
type: dict
required: true
extends_documentation_fragment:
- community.general.oneview
- community.general.oneview.validateetag
- community.general.oneview
- community.general.oneview.validateetag
- community.general.attributes
'''

View file

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

View file

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

View file

@ -28,6 +28,15 @@ author:
- Matt Baldwin (@baldwinSPC) <baldwin@stackpointcloud.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:
auth_token:
description:
@ -149,9 +158,6 @@ options:
requirements:
- "packet-python >= 1.35"
notes:
- Doesn't support check mode.
'''
EXAMPLES = '''

View file

@ -28,6 +28,15 @@ author:
- Tomas Karasek (@t0mk) <tom.to.the.k@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:
auth_token:
description:

View file

@ -26,6 +26,15 @@ author:
- Tomas Karasek (@t0mk) <tom.to.the.k@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:
state:
description:

View file

@ -16,6 +16,13 @@ description:
- 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).
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:
state:
description:

View file

@ -25,6 +25,15 @@ author:
- Tomas Karasek (@t0mk) <tom.to.the.k@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:
state:
description:

View file

@ -29,6 +29,15 @@ author:
- Tomas Karasek (@t0mk) <tom.to.the.k@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:
state:
description:

View file

@ -16,6 +16,11 @@ description:
- 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)
- 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:
password:
description:
@ -202,6 +207,7 @@ author: Sergei Antipov (@UnderGreen)
extends_documentation_fragment:
- community.general.proxmox.documentation
- community.general.proxmox.selection
- community.general.attributes
'''
EXAMPLES = r'''

View file

@ -16,6 +16,11 @@ version_added: 5.7.0
description:
- 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>"
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
name:
description:
@ -311,6 +316,7 @@ options:
type: str
extends_documentation_fragment:
- community.general.proxmox.documentation
- community.general.attributes
'''
EXAMPLES = '''

View file

@ -16,6 +16,11 @@ description:
- 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).
author: "Abdoul Bah (@helldorado) <bahabdoul at gmail.com>"
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
acpi:
description:
@ -519,6 +524,7 @@ options:
extends_documentation_fragment:
- community.general.proxmox.documentation
- community.general.proxmox.selection
- community.general.attributes
'''
EXAMPLES = '''

View file

@ -16,6 +16,11 @@ version_added: 3.1.0
description:
- 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>"
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
bridge:
description:
@ -90,6 +95,7 @@ options:
type: int
extends_documentation_fragment:
- community.general.proxmox.documentation
- community.general.attributes
'''
EXAMPLES = '''

View file

@ -16,6 +16,11 @@ version_added: 2.0.0
description:
- 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.
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
hostname:
description:
@ -72,11 +77,11 @@ options:
notes:
- Requires proxmoxer and requests modules on host. These modules can be installed with pip.
- Supports C(check_mode).
requirements: [ "proxmoxer", "python >= 2.7", "requests" ]
author: Jeffrey van Pelt (@Thulium-Drake)
extends_documentation_fragment:
- community.general.proxmox.documentation
- community.general.attributes
'''
EXAMPLES = r'''

View file

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

View file

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

View file

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