From 5589bcb65980eebeeb8ff1c407e774c25bcf69b2 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 24 Feb 2023 11:03:19 +0100 Subject: [PATCH] [stable-6] Add attributes to oneandone, ovh, and rackspace modules (#6064) Add attributes to oneandone, ovh, and rackspace modules (#5948) Add attributes to oneandone, ovh, and rackspace modules. (cherry picked from commit 6bd131f2fbd6da7ee1226b4e048613c63d6fd2ef) --- plugins/modules/oneandone_firewall_policy.py | 11 +++++++++-- plugins/modules/oneandone_load_balancer.py | 11 +++++++++-- plugins/modules/oneandone_monitoring_policy.py | 13 ++++++++++--- plugins/modules/oneandone_private_network.py | 11 +++++++++-- plugins/modules/oneandone_public_ip.py | 11 +++++++++-- plugins/modules/oneandone_server.py | 11 +++++++++-- plugins/modules/ovh_ip_failover.py | 7 +++++++ plugins/modules/ovh_ip_loadbalancing_backend.py | 7 +++++++ plugins/modules/ovh_monthly_billing.py | 7 +++++++ plugins/modules/rax.py | 8 +++++++- plugins/modules/rax_cbs.py | 8 +++++++- plugins/modules/rax_cbs_attachments.py | 8 +++++++- plugins/modules/rax_cdb.py | 10 ++++++++-- plugins/modules/rax_cdb_database.py | 10 ++++++++-- plugins/modules/rax_cdb_user.py | 10 ++++++++-- plugins/modules/rax_clb.py | 10 ++++++++-- plugins/modules/rax_clb_nodes.py | 10 ++++++++-- plugins/modules/rax_clb_ssl.py | 10 ++++++++-- plugins/modules/rax_dns.py | 10 ++++++++-- plugins/modules/rax_dns_record.py | 10 ++++++++-- plugins/modules/rax_files.py | 10 ++++++++-- plugins/modules/rax_files_objects.py | 10 ++++++++-- plugins/modules/rax_identity.py | 8 +++++++- plugins/modules/rax_keypair.py | 8 +++++++- plugins/modules/rax_meta.py | 8 +++++++- plugins/modules/rax_mon_alarm.py | 8 +++++++- plugins/modules/rax_mon_check.py | 8 +++++++- plugins/modules/rax_mon_entity.py | 8 +++++++- plugins/modules/rax_mon_notification.py | 8 +++++++- plugins/modules/rax_mon_notification_plan.py | 8 +++++++- plugins/modules/rax_network.py | 8 +++++++- plugins/modules/rax_queue.py | 10 ++++++++-- plugins/modules/rax_scaling_group.py | 10 ++++++++-- plugins/modules/rax_scaling_policy.py | 10 ++++++++-- 34 files changed, 264 insertions(+), 51 deletions(-) diff --git a/plugins/modules/oneandone_firewall_policy.py b/plugins/modules/oneandone_firewall_policy.py index 5cceffa812..37dca74f28 100644 --- a/plugins/modules/oneandone_firewall_policy.py +++ b/plugins/modules/oneandone_firewall_policy.py @@ -12,8 +12,15 @@ DOCUMENTATION = ''' module: oneandone_firewall_policy short_description: Configure 1&1 firewall policy description: - - Create, remove, reconfigure, update firewall policies. - This module has a dependency on 1and1 >= 1.0 + - Create, remove, reconfigure, update firewall policies. + 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: state: description: diff --git a/plugins/modules/oneandone_load_balancer.py b/plugins/modules/oneandone_load_balancer.py index 432fc456b1..7f7af9c4fc 100644 --- a/plugins/modules/oneandone_load_balancer.py +++ b/plugins/modules/oneandone_load_balancer.py @@ -12,8 +12,15 @@ DOCUMENTATION = ''' module: oneandone_load_balancer short_description: Configure 1&1 load balancer description: - - Create, remove, update load balancers. - This module has a dependency on 1and1 >= 1.0 + - Create, remove, update load balancers. + 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: state: description: diff --git a/plugins/modules/oneandone_monitoring_policy.py b/plugins/modules/oneandone_monitoring_policy.py index 04e9c67570..6118645bfe 100644 --- a/plugins/modules/oneandone_monitoring_policy.py +++ b/plugins/modules/oneandone_monitoring_policy.py @@ -12,9 +12,16 @@ DOCUMENTATION = ''' module: oneandone_monitoring_policy short_description: Configure 1&1 monitoring policy description: - - Create, remove, update monitoring policies - (and add/remove ports, processes, and servers). - This module has a dependency on 1and1 >= 1.0 + - Create, remove, update monitoring policies + (and add/remove ports, processes, and servers). + 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: state: description: diff --git a/plugins/modules/oneandone_private_network.py b/plugins/modules/oneandone_private_network.py index 4a912a0f35..114bf2f223 100644 --- a/plugins/modules/oneandone_private_network.py +++ b/plugins/modules/oneandone_private_network.py @@ -12,8 +12,15 @@ DOCUMENTATION = ''' module: oneandone_private_network short_description: Configure 1&1 private networking description: - - Create, remove, reconfigure, update a private network. - This module has a dependency on 1and1 >= 1.0 + - Create, remove, reconfigure, update a private network. + 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: state: description: diff --git a/plugins/modules/oneandone_public_ip.py b/plugins/modules/oneandone_public_ip.py index 31ed082c74..df5476feb1 100644 --- a/plugins/modules/oneandone_public_ip.py +++ b/plugins/modules/oneandone_public_ip.py @@ -12,8 +12,15 @@ DOCUMENTATION = ''' module: oneandone_public_ip short_description: Configure 1&1 public IPs description: - - Create, update, and remove public IPs. - This module has a dependency on 1and1 >= 1.0 + - Create, update, and remove public IPs. + 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: state: description: diff --git a/plugins/modules/oneandone_server.py b/plugins/modules/oneandone_server.py index e0f1b0eb03..59f5041785 100644 --- a/plugins/modules/oneandone_server.py +++ b/plugins/modules/oneandone_server.py @@ -12,8 +12,15 @@ DOCUMENTATION = ''' module: oneandone_server short_description: Create, destroy, start, stop, and reboot a 1&1 Host server description: - - 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. + - 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. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: state: description: diff --git a/plugins/modules/ovh_ip_failover.py b/plugins/modules/ovh_ip_failover.py index 4a5c8e5346..cd3639a4cd 100644 --- a/plugins/modules/ovh_ip_failover.py +++ b/plugins/modules/ovh_ip_failover.py @@ -23,6 +23,13 @@ notes: key as described into U(https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/) requirements: - ovh >= 0.4.8 +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: name: required: true diff --git a/plugins/modules/ovh_ip_loadbalancing_backend.py b/plugins/modules/ovh_ip_loadbalancing_backend.py index fe1e722507..f70b5804a7 100644 --- a/plugins/modules/ovh_ip_loadbalancing_backend.py +++ b/plugins/modules/ovh_ip_loadbalancing_backend.py @@ -22,6 +22,13 @@ notes: key as described into U(https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/) requirements: - ovh > 0.3.5 +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: name: required: true diff --git a/plugins/modules/ovh_monthly_billing.py b/plugins/modules/ovh_monthly_billing.py index 445041a23b..43d64e6185 100644 --- a/plugins/modules/ovh_monthly_billing.py +++ b/plugins/modules/ovh_monthly_billing.py @@ -18,6 +18,13 @@ short_description: Manage OVH monthly billing description: - Enable monthly billing on OVH cloud intances (be aware OVH does not allow to disable it). requirements: [ "ovh" ] +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: project_id: required: true diff --git a/plugins/modules/rax.py b/plugins/modules/rax.py index fa929f7971..47c0a6d1bb 100644 --- a/plugins/modules/rax.py +++ b/plugins/modules/rax.py @@ -15,6 +15,11 @@ short_description: Create / delete an instance in Rackspace Public Cloud description: - creates / deletes a Rackspace Public Cloud instance and optionally waits for it to be 'running'. +attributes: + check_mode: + support: none + diff_mode: + support: none options: auto_increment: description: @@ -177,7 +182,8 @@ notes: In the case of deletion, the returned data structure will have C(action) set to C(delete), and the oldest servers in the group will be deleted. extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_cbs.py b/plugins/modules/rax_cbs.py index 42e5693614..c996269043 100644 --- a/plugins/modules/rax_cbs.py +++ b/plugins/modules/rax_cbs.py @@ -16,6 +16,11 @@ description: - Manipulate Rackspace Cloud Block Storage Volumes - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: description: type: str @@ -75,7 +80,8 @@ author: - "Christopher H. Laco (@claco)" - "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_cbs_attachments.py b/plugins/modules/rax_cbs_attachments.py index 7cb68cf2b3..8f540fa0fd 100644 --- a/plugins/modules/rax_cbs_attachments.py +++ b/plugins/modules/rax_cbs_attachments.py @@ -16,6 +16,11 @@ description: - Manipulate Rackspace Cloud Block Storage Volume Attachments - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: device: type: str @@ -54,7 +59,8 @@ author: - "Christopher H. Laco (@claco)" - "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_cdb.py b/plugins/modules/rax_cdb.py index a6c3ca56c3..cf0366d3b5 100644 --- a/plugins/modules/rax_cdb.py +++ b/plugins/modules/rax_cdb.py @@ -18,6 +18,11 @@ description: unique since it's used to identify the instance. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: name: type: str @@ -65,8 +70,9 @@ options: default: 300 author: "Simon JAILLET (@jails)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_cdb_database.py b/plugins/modules/rax_cdb_database.py index 6a1995f771..35b076aad0 100644 --- a/plugins/modules/rax_cdb_database.py +++ b/plugins/modules/rax_cdb_database.py @@ -15,6 +15,11 @@ description: - create / delete a database in the Cloud Databases. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: cdb_id: type: str @@ -44,8 +49,9 @@ options: default: present author: "Simon JAILLET (@jails)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_cdb_user.py b/plugins/modules/rax_cdb_user.py index e489bd2e5c..a2cd675d91 100644 --- a/plugins/modules/rax_cdb_user.py +++ b/plugins/modules/rax_cdb_user.py @@ -16,6 +16,11 @@ description: - create / delete a database in the Cloud Databases. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: cdb_id: type: str @@ -53,8 +58,9 @@ options: default: present author: "Simon JAILLET (@jails)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_clb.py b/plugins/modules/rax_clb.py index 091a33d81c..9a4ca4f89c 100644 --- a/plugins/modules/rax_clb.py +++ b/plugins/modules/rax_clb.py @@ -16,6 +16,11 @@ description: - creates / deletes a Rackspace Public Cloud load balancer. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: algorithm: type: str @@ -107,8 +112,9 @@ author: - "Christopher H. Laco (@claco)" - "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_clb_nodes.py b/plugins/modules/rax_clb_nodes.py index 8c72107372..219f0c2ba6 100644 --- a/plugins/modules/rax_clb_nodes.py +++ b/plugins/modules/rax_clb_nodes.py @@ -16,6 +16,11 @@ description: - Adds, modifies and removes nodes from a Rackspace Cloud Load Balancer. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: address: type: str @@ -87,8 +92,9 @@ options: - Virtualenv to execute this module in author: "Lukasz Kawczynski (@neuroid)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_clb_ssl.py b/plugins/modules/rax_clb_ssl.py index f31c5b37f7..5dca9d3ec2 100644 --- a/plugins/modules/rax_clb_ssl.py +++ b/plugins/modules/rax_clb_ssl.py @@ -15,6 +15,11 @@ description: - Set up, reconfigure, or remove SSL termination for an existing load balancer. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: loadbalancer: type: str @@ -77,8 +82,9 @@ options: default: 300 author: Ash Wilson (@smashwilson) extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_dns.py b/plugins/modules/rax_dns.py index 646d296589..e70b769147 100644 --- a/plugins/modules/rax_dns.py +++ b/plugins/modules/rax_dns.py @@ -16,6 +16,11 @@ description: - Manage domains on Rackspace Cloud DNS. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: comment: type: str @@ -48,8 +53,9 @@ notes: the Rackspace CloudDNS API" author: "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_dns_record.py b/plugins/modules/rax_dns_record.py index 0175161c68..fd3ad47ce5 100644 --- a/plugins/modules/rax_dns_record.py +++ b/plugins/modules/rax_dns_record.py @@ -16,6 +16,11 @@ description: - Manage DNS records on Rackspace Cloud DNS. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: comment: type: str @@ -94,8 +99,9 @@ notes: - C(PTR) record support was added in version 1.7 author: "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_files.py b/plugins/modules/rax_files.py index 7a07bc6356..2d52ebc0f9 100644 --- a/plugins/modules/rax_files.py +++ b/plugins/modules/rax_files.py @@ -16,6 +16,11 @@ description: - Manipulate Rackspace Cloud Files Containers. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: clear_meta: description: @@ -77,8 +82,9 @@ options: - Sets an object to be presented as the HTTP index page when accessed by the CDN URL author: "Paul Durivage (@angstwad)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_files_objects.py b/plugins/modules/rax_files_objects.py index 96ab0a5731..08a5cd4e25 100644 --- a/plugins/modules/rax_files_objects.py +++ b/plugins/modules/rax_files_objects.py @@ -16,6 +16,11 @@ description: - Upload, download, and delete objects in Rackspace Cloud Files. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: clear_meta: description: @@ -78,8 +83,9 @@ options: default: file author: "Paul Durivage (@angstwad)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_identity.py b/plugins/modules/rax_identity.py index f78d5d7329..19f803953c 100644 --- a/plugins/modules/rax_identity.py +++ b/plugins/modules/rax_identity.py @@ -16,6 +16,11 @@ description: - Verifies Rackspace Cloud credentials and returns identity information. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: type: str @@ -28,7 +33,8 @@ author: - "Christopher H. Laco (@claco)" - "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_keypair.py b/plugins/modules/rax_keypair.py index 5a8dae334d..22750f03c3 100644 --- a/plugins/modules/rax_keypair.py +++ b/plugins/modules/rax_keypair.py @@ -16,6 +16,11 @@ description: - Create a keypair for use with Rackspace Cloud Servers. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: name: type: str @@ -40,7 +45,8 @@ notes: keypair you must first delete and then recreate. - The ability to specify a file path for the public key was added in 1.7 extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_meta.py b/plugins/modules/rax_meta.py index 0cb21832ec..751300858b 100644 --- a/plugins/modules/rax_meta.py +++ b/plugins/modules/rax_meta.py @@ -16,6 +16,11 @@ description: - Manipulate metadata for Rackspace Cloud Servers. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: address: type: str @@ -37,7 +42,8 @@ options: - A hash of metadata to associate with the instance author: "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_mon_alarm.py b/plugins/modules/rax_mon_alarm.py index 5b34e3cf9f..f6e650ec03 100644 --- a/plugins/modules/rax_mon_alarm.py +++ b/plugins/modules/rax_mon_alarm.py @@ -21,6 +21,11 @@ description: *rax_mon_alarm*. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: type: str @@ -73,7 +78,8 @@ options: keys and values between 1 and 255 characters long. author: Ash Wilson (@smashwilson) extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_mon_check.py b/plugins/modules/rax_mon_check.py index b9c543e723..6a0ad03a3e 100644 --- a/plugins/modules/rax_mon_check.py +++ b/plugins/modules/rax_mon_check.py @@ -22,6 +22,11 @@ description: rax_mon_alarm - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: type: str @@ -117,7 +122,8 @@ options: results. Must be less than the period. author: Ash Wilson (@smashwilson) extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_mon_entity.py b/plugins/modules/rax_mon_entity.py index cd5526719b..b42bd173b0 100644 --- a/plugins/modules/rax_mon_entity.py +++ b/plugins/modules/rax_mon_entity.py @@ -20,6 +20,11 @@ description: rax_mon_notification -> rax_mon_notification_plan -> rax_mon_alarm. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: label: type: str @@ -55,7 +60,8 @@ options: long. author: Ash Wilson (@smashwilson) extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_mon_notification.py b/plugins/modules/rax_mon_notification.py index 73bfd1a78f..91d0793593 100644 --- a/plugins/modules/rax_mon_notification.py +++ b/plugins/modules/rax_mon_notification.py @@ -17,6 +17,11 @@ description: channel that can be used to communicate alarms, such as email, webhooks, or PagerDuty. Rackspace monitoring module flow | rax_mon_entity -> rax_mon_check -> *rax_mon_notification* -> rax_mon_notification_plan -> rax_mon_alarm +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: type: str @@ -46,7 +51,8 @@ options: required: true author: Ash Wilson (@smashwilson) extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_mon_notification_plan.py b/plugins/modules/rax_mon_notification_plan.py index 84de4a2fa3..ac8b189aae 100644 --- a/plugins/modules/rax_mon_notification_plan.py +++ b/plugins/modules/rax_mon_notification_plan.py @@ -20,6 +20,11 @@ description: rax_mon_notification -> *rax_mon_notification_plan* -> rax_mon_alarm. - This module relies on the C(pyrax) package which is deprecated in favour of using Openstack API. - Unless maintainers step up to work on the module, it will be marked as deprecated in community.general 7.0.0 and removed in version 9.0.0. +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: type: str @@ -54,7 +59,8 @@ options: valid rax_mon_notification ids. author: Ash Wilson (@smashwilson) extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_network.py b/plugins/modules/rax_network.py index edb7773b72..22f148366e 100644 --- a/plugins/modules/rax_network.py +++ b/plugins/modules/rax_network.py @@ -14,6 +14,11 @@ module: rax_network short_description: Create / delete an isolated network in Rackspace Public Cloud description: - creates / deletes a Rackspace Public Cloud isolated network. +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: type: str @@ -36,7 +41,8 @@ author: - "Christopher H. Laco (@claco)" - "Jesse Keating (@omgjlk)" extends_documentation_fragment: -- community.general.rackspace.openstack + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_queue.py b/plugins/modules/rax_queue.py index e053f3266d..00f730b279 100644 --- a/plugins/modules/rax_queue.py +++ b/plugins/modules/rax_queue.py @@ -14,6 +14,11 @@ module: rax_queue short_description: Create / delete a queue in Rackspace Public Cloud description: - creates / deletes a Rackspace Public Cloud queue. +attributes: + check_mode: + support: none + diff_mode: + support: none options: name: type: str @@ -31,8 +36,9 @@ author: - "Christopher H. Laco (@claco)" - "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_scaling_group.py b/plugins/modules/rax_scaling_group.py index ed974ef0f9..677a75b336 100644 --- a/plugins/modules/rax_scaling_group.py +++ b/plugins/modules/rax_scaling_group.py @@ -14,6 +14,11 @@ module: rax_scaling_group short_description: Manipulate Rackspace Cloud Autoscale Groups description: - Manipulate Rackspace Cloud Autoscale Groups +attributes: + check_mode: + support: none + diff_mode: + support: none options: config_drive: description: @@ -122,8 +127,9 @@ options: default: 300 author: "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes ''' diff --git a/plugins/modules/rax_scaling_policy.py b/plugins/modules/rax_scaling_policy.py index 3596575187..60b48bb2a9 100644 --- a/plugins/modules/rax_scaling_policy.py +++ b/plugins/modules/rax_scaling_policy.py @@ -14,6 +14,11 @@ module: rax_scaling_policy short_description: Manipulate Rackspace Cloud Autoscale Scaling Policy description: - Manipulate Rackspace Cloud Autoscale Scaling Policy +attributes: + check_mode: + support: none + diff_mode: + support: none options: at: type: str @@ -77,8 +82,9 @@ options: default: present author: "Matt Martz (@sivel)" extends_documentation_fragment: -- community.general.rackspace -- community.general.rackspace.openstack + - community.general.rackspace + - community.general.rackspace.openstack + - community.general.attributes '''