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 oneandone, ovh, and rackspace modules (#5948)

Add attributes to oneandone, ovh, and rackspace modules.
This commit is contained in:
Felix Fontein 2023-02-24 09:21:43 +01:00 committed by GitHub
parent 490899f87f
commit 6bd131f2fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 264 additions and 51 deletions

View file

@ -13,7 +13,14 @@ module: oneandone_firewall_policy
short_description: Configure 1&1 firewall policy short_description: Configure 1&1 firewall policy
description: description:
- Create, remove, reconfigure, update firewall policies. - Create, remove, reconfigure, update firewall policies.
This module has a dependency on 1and1 >= 1.0 This module has a dependency on 1and1 >= 1.0.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -13,7 +13,14 @@ module: oneandone_load_balancer
short_description: Configure 1&1 load balancer short_description: Configure 1&1 load balancer
description: description:
- Create, remove, update load balancers. - Create, remove, update load balancers.
This module has a dependency on 1and1 >= 1.0 This module has a dependency on 1and1 >= 1.0.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -14,7 +14,14 @@ short_description: Configure 1&1 monitoring policy
description: description:
- Create, remove, update monitoring policies - Create, remove, update monitoring policies
(and add/remove ports, processes, and servers). (and add/remove ports, processes, and servers).
This module has a dependency on 1and1 >= 1.0 This module has a dependency on 1and1 >= 1.0.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -13,7 +13,14 @@ module: oneandone_private_network
short_description: Configure 1&1 private networking short_description: Configure 1&1 private networking
description: description:
- Create, remove, reconfigure, update a private network. - Create, remove, reconfigure, update a private network.
This module has a dependency on 1and1 >= 1.0 This module has a dependency on 1and1 >= 1.0.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -13,7 +13,14 @@ module: oneandone_public_ip
short_description: Configure 1&1 public IPs short_description: Configure 1&1 public IPs
description: description:
- Create, update, and remove public IPs. - Create, update, and remove public IPs.
This module has a dependency on 1and1 >= 1.0 This module has a dependency on 1and1 >= 1.0.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -14,6 +14,13 @@ short_description: Create, destroy, start, stop, and reboot a 1&1 Host server
description: description:
- Create, destroy, update, start, stop, and reboot a 1&1 Host server. - Create, destroy, update, start, stop, and reboot a 1&1 Host server.
When the server is created it can optionally wait for it to be 'running' before returning. When the server is created it can optionally wait for it to be 'running' before returning.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:

View file

@ -23,6 +23,13 @@ notes:
key as described into U(https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/) key as described into U(https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/)
requirements: requirements:
- ovh >= 0.4.8 - ovh >= 0.4.8
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
name: name:
required: true required: true

View file

@ -22,6 +22,13 @@ notes:
key as described into U(https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/) key as described into U(https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/)
requirements: requirements:
- ovh > 0.3.5 - ovh > 0.3.5
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
name: name:
required: true required: true

View file

@ -18,6 +18,13 @@ short_description: Manage OVH monthly billing
description: description:
- Enable monthly billing on OVH cloud intances (be aware OVH does not allow to disable it). - Enable monthly billing on OVH cloud intances (be aware OVH does not allow to disable it).
requirements: [ "ovh" ] requirements: [ "ovh" ]
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
project_id: project_id:
required: true required: true

View file

@ -15,6 +15,11 @@ short_description: Create / delete an instance in Rackspace Public Cloud
description: description:
- creates / deletes a Rackspace Public Cloud instance and optionally - creates / deletes a Rackspace Public Cloud instance and optionally
waits for it to be 'running'. waits for it to be 'running'.
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
auto_increment: auto_increment:
description: description:
@ -178,6 +183,7 @@ notes:
set to C(delete), and the oldest servers in the group will be deleted. set to C(delete), and the oldest servers in the group will be deleted.
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_cbs
short_description: Manipulate Rackspace Cloud Block Storage Volumes short_description: Manipulate Rackspace Cloud Block Storage Volumes
description: description:
- Manipulate Rackspace Cloud Block Storage Volumes - Manipulate Rackspace Cloud Block Storage Volumes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
description: description:
type: str type: str
@ -74,6 +79,7 @@ author:
- "Matt Martz (@sivel)" - "Matt Martz (@sivel)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_cbs_attachments
short_description: Manipulate Rackspace Cloud Block Storage Volume Attachments short_description: Manipulate Rackspace Cloud Block Storage Volume Attachments
description: description:
- Manipulate Rackspace Cloud Block Storage Volume Attachments - Manipulate Rackspace Cloud Block Storage Volume Attachments
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
device: device:
type: str type: str
@ -53,6 +58,7 @@ author:
- "Matt Martz (@sivel)" - "Matt Martz (@sivel)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -16,6 +16,11 @@ description:
- creates / deletes or resize a Rackspace Cloud Databases instance - creates / deletes or resize a Rackspace Cloud Databases instance
and optionally waits for it to be 'running'. The name option needs to be and optionally waits for it to be 'running'. The name option needs to be
unique since it's used to identify the instance. unique since it's used to identify the instance.
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
name: name:
type: str type: str
@ -65,6 +70,7 @@ author: "Simon JAILLET (@jails)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -13,6 +13,11 @@ module: rax_cdb_database
short_description: Create / delete a database in the Cloud Databases short_description: Create / delete a database in the Cloud Databases
description: description:
- create / delete a database in the Cloud Databases. - create / delete a database in the Cloud Databases.
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
cdb_id: cdb_id:
type: str type: str
@ -44,6 +49,7 @@ author: "Simon JAILLET (@jails)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_cdb_user
short_description: Create / delete a Rackspace Cloud Database short_description: Create / delete a Rackspace Cloud Database
description: description:
- create / delete a database in the Cloud Databases. - create / delete a database in the Cloud Databases.
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
cdb_id: cdb_id:
type: str type: str
@ -53,6 +58,7 @@ author: "Simon JAILLET (@jails)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_clb
short_description: Create / delete a load balancer in Rackspace Public Cloud short_description: Create / delete a load balancer in Rackspace Public Cloud
description: description:
- creates / deletes a Rackspace Public Cloud load balancer. - creates / deletes a Rackspace Public Cloud load balancer.
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
algorithm: algorithm:
type: str type: str
@ -107,6 +112,7 @@ author:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_clb_nodes
short_description: Add, modify and remove nodes from a Rackspace Cloud Load Balancer short_description: Add, modify and remove nodes from a Rackspace Cloud Load Balancer
description: description:
- Adds, modifies and removes nodes from a Rackspace Cloud Load Balancer - Adds, modifies and removes nodes from a Rackspace Cloud Load Balancer
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
address: address:
type: str type: str
@ -87,6 +92,7 @@ author: "Lukasz Kawczynski (@neuroid)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -13,6 +13,11 @@ module: rax_clb_ssl
short_description: Manage SSL termination for a Rackspace Cloud Load Balancer short_description: Manage SSL termination for a Rackspace Cloud Load Balancer
description: description:
- Set up, reconfigure, or remove SSL termination for an existing load balancer. - Set up, reconfigure, or remove SSL termination for an existing load balancer.
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
loadbalancer: loadbalancer:
type: str type: str
@ -77,6 +82,7 @@ author: Ash Wilson (@smashwilson)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_dns
short_description: Manage domains on Rackspace Cloud DNS short_description: Manage domains on Rackspace Cloud DNS
description: description:
- Manage domains on Rackspace Cloud DNS - Manage domains on Rackspace Cloud DNS
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
comment: comment:
type: str type: str
@ -48,6 +53,7 @@ author: "Matt Martz (@sivel)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_dns_record
short_description: Manage DNS records on Rackspace Cloud DNS short_description: Manage DNS records on Rackspace Cloud DNS
description: description:
- Manage DNS records on Rackspace Cloud DNS - Manage DNS records on Rackspace Cloud DNS
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
comment: comment:
type: str type: str
@ -94,6 +99,7 @@ author: "Matt Martz (@sivel)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_files
short_description: Manipulate Rackspace Cloud Files Containers short_description: Manipulate Rackspace Cloud Files Containers
description: description:
- Manipulate Rackspace Cloud Files Containers - Manipulate Rackspace Cloud Files Containers
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
clear_meta: clear_meta:
description: description:
@ -77,6 +82,7 @@ author: "Paul Durivage (@angstwad)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_files_objects
short_description: Upload, download, and delete objects in Rackspace Cloud Files short_description: Upload, download, and delete objects in Rackspace Cloud Files
description: description:
- Upload, download, and delete objects in Rackspace Cloud Files. - Upload, download, and delete objects in Rackspace Cloud Files.
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
clear_meta: clear_meta:
description: description:
@ -78,6 +83,7 @@ author: "Paul Durivage (@angstwad)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_identity
short_description: Load Rackspace Cloud Identity short_description: Load Rackspace Cloud Identity
description: description:
- Verifies Rackspace Cloud credentials and returns identity information - Verifies Rackspace Cloud credentials and returns identity information
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
type: str type: str
@ -27,6 +32,7 @@ author:
- "Matt Martz (@sivel)" - "Matt Martz (@sivel)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_keypair
short_description: Create a keypair for use with Rackspace Cloud Servers short_description: Create a keypair for use with Rackspace Cloud Servers
description: description:
- Create a keypair for use with Rackspace Cloud Servers - Create a keypair for use with Rackspace Cloud Servers
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
name: name:
type: str type: str
@ -39,6 +44,7 @@ notes:
- The ability to specify a file path for the public key was added in 1.7 - The ability to specify a file path for the public key was added in 1.7
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_meta
short_description: Manipulate metadata for Rackspace Cloud Servers short_description: Manipulate metadata for Rackspace Cloud Servers
description: description:
- Manipulate metadata for Rackspace Cloud Servers - Manipulate metadata for Rackspace Cloud Servers
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
address: address:
type: str type: str
@ -36,6 +41,7 @@ options:
author: "Matt Martz (@sivel)" author: "Matt Martz (@sivel)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -19,6 +19,11 @@ description:
notifications. Rackspace monitoring module flow | rax_mon_entity -> notifications. Rackspace monitoring module flow | rax_mon_entity ->
rax_mon_check -> rax_mon_notification -> rax_mon_notification_plan -> rax_mon_check -> rax_mon_notification -> rax_mon_notification_plan ->
*rax_mon_alarm* *rax_mon_alarm*
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
type: str type: str
@ -72,6 +77,7 @@ options:
author: Ash Wilson (@smashwilson) author: Ash Wilson (@smashwilson)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -20,6 +20,11 @@ description:
monitor. Rackspace monitoring module flow | rax_mon_entity -> monitor. Rackspace monitoring module flow | rax_mon_entity ->
*rax_mon_check* -> rax_mon_notification -> rax_mon_notification_plan -> *rax_mon_check* -> rax_mon_notification -> rax_mon_notification_plan ->
rax_mon_alarm rax_mon_alarm
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
type: str type: str
@ -116,6 +121,7 @@ options:
author: Ash Wilson (@smashwilson) author: Ash Wilson (@smashwilson)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -18,6 +18,11 @@ description:
provide a convenient, centralized place to store IP addresses. Rackspace provide a convenient, centralized place to store IP addresses. Rackspace
monitoring module flow | *rax_mon_entity* -> rax_mon_check -> monitoring module flow | *rax_mon_entity* -> rax_mon_check ->
rax_mon_notification -> rax_mon_notification_plan -> rax_mon_alarm rax_mon_notification -> rax_mon_notification_plan -> rax_mon_alarm
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
label: label:
type: str type: str
@ -54,6 +59,7 @@ options:
author: Ash Wilson (@smashwilson) author: Ash Wilson (@smashwilson)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -17,6 +17,11 @@ description:
channel that can be used to communicate alarms, such as email, webhooks, or channel that can be used to communicate alarms, such as email, webhooks, or
PagerDuty. Rackspace monitoring module flow | rax_mon_entity -> rax_mon_check -> PagerDuty. Rackspace monitoring module flow | rax_mon_entity -> rax_mon_check ->
*rax_mon_notification* -> rax_mon_notification_plan -> rax_mon_alarm *rax_mon_notification* -> rax_mon_notification_plan -> rax_mon_alarm
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
type: str type: str
@ -47,6 +52,7 @@ options:
author: Ash Wilson (@smashwilson) author: Ash Wilson (@smashwilson)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -18,6 +18,11 @@ description:
associating existing rax_mon_notifications with severity levels. Rackspace associating existing rax_mon_notifications with severity levels. Rackspace
monitoring module flow | rax_mon_entity -> rax_mon_check -> monitoring module flow | rax_mon_entity -> rax_mon_check ->
rax_mon_notification -> *rax_mon_notification_plan* -> rax_mon_alarm rax_mon_notification -> *rax_mon_notification_plan* -> rax_mon_alarm
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
type: str type: str
@ -53,6 +58,7 @@ options:
author: Ash Wilson (@smashwilson) author: Ash Wilson (@smashwilson)
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_network
short_description: Create / delete an isolated network in Rackspace Public Cloud short_description: Create / delete an isolated network in Rackspace Public Cloud
description: description:
- creates / deletes a Rackspace Public Cloud isolated network. - creates / deletes a Rackspace Public Cloud isolated network.
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
state: state:
type: str type: str
@ -37,6 +42,7 @@ author:
- "Jesse Keating (@omgjlk)" - "Jesse Keating (@omgjlk)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_queue
short_description: Create / delete a queue in Rackspace Public Cloud short_description: Create / delete a queue in Rackspace Public Cloud
description: description:
- creates / deletes a Rackspace Public Cloud queue. - creates / deletes a Rackspace Public Cloud queue.
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
name: name:
type: str type: str
@ -33,6 +38,7 @@ author:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_scaling_group
short_description: Manipulate Rackspace Cloud Autoscale Groups short_description: Manipulate Rackspace Cloud Autoscale Groups
description: description:
- Manipulate Rackspace Cloud Autoscale Groups - Manipulate Rackspace Cloud Autoscale Groups
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
config_drive: config_drive:
description: description:
@ -124,6 +129,7 @@ author: "Matt Martz (@sivel)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''

View file

@ -14,6 +14,11 @@ module: rax_scaling_policy
short_description: Manipulate Rackspace Cloud Autoscale Scaling Policy short_description: Manipulate Rackspace Cloud Autoscale Scaling Policy
description: description:
- Manipulate Rackspace Cloud Autoscale Scaling Policy - Manipulate Rackspace Cloud Autoscale Scaling Policy
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
at: at:
type: str type: str
@ -79,6 +84,7 @@ author: "Matt Martz (@sivel)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.rackspace - community.general.rackspace
- community.general.rackspace.openstack - community.general.rackspace.openstack
- community.general.attributes
''' '''