diff --git a/plugins/modules/gcp_bigquery_dataset_info.py b/plugins/modules/gcp_bigquery_dataset_info.py index 4007cf8..33d8b4d 100644 --- a/plugins/modules/gcp_bigquery_dataset_info.py +++ b/plugins/modules/gcp_bigquery_dataset_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_bigquery_dataset_info description: - Gather info for GCP Dataset -- This module was called C(gcp_bigquery_dataset_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Dataset version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -312,9 +310,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_bigquery_dataset_facts': - module.deprecate("The 'gcp_bigquery_dataset_facts' module has been renamed to 'gcp_bigquery_dataset_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery'] diff --git a/plugins/modules/gcp_bigquery_table_info.py b/plugins/modules/gcp_bigquery_table_info.py index e3b78d6..b7a113a 100644 --- a/plugins/modules/gcp_bigquery_table_info.py +++ b/plugins/modules/gcp_bigquery_table_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_bigquery_table_info description: - Gather info for GCP Table -- This module was called C(gcp_bigquery_table_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Table version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -587,9 +585,6 @@ import json def main(): module = GcpModule(argument_spec=dict(dataset=dict(type='str'))) - if module._name == 'gcp_bigquery_table_facts': - module.deprecate("The 'gcp_bigquery_table_facts' module has been renamed to 'gcp_bigquery_table_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery'] diff --git a/plugins/modules/gcp_cloudbuild_trigger_info.py b/plugins/modules/gcp_cloudbuild_trigger_info.py index 795e276..259d18a 100644 --- a/plugins/modules/gcp_cloudbuild_trigger_info.py +++ b/plugins/modules/gcp_cloudbuild_trigger_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_cloudbuild_trigger_info description: - Gather info for GCP Trigger -- This module was called C(gcp_cloudbuild_trigger_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Trigger version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -365,9 +363,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_cloudbuild_trigger_facts': - module.deprecate("The 'gcp_cloudbuild_trigger_facts' module has been renamed to 'gcp_cloudbuild_trigger_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform'] diff --git a/plugins/modules/gcp_compute_address_info.py b/plugins/modules/gcp_compute_address_info.py index a2e4081..6add106 100644 --- a/plugins/modules/gcp_compute_address_info.py +++ b/plugins/modules/gcp_compute_address_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_address_info description: - Gather info for GCP Address -- This module was called C(gcp_compute_address_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Address version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -208,9 +206,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_address_facts': - module.deprecate("The 'gcp_compute_address_facts' module has been renamed to 'gcp_compute_address_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_backend_bucket_info.py b/plugins/modules/gcp_compute_backend_bucket_info.py index a195ca8..0e515cc 100644 --- a/plugins/modules/gcp_compute_backend_bucket_info.py +++ b/plugins/modules/gcp_compute_backend_bucket_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_backend_bucket_info description: - Gather info for GCP BackendBucket -- This module was called C(gcp_compute_backend_bucket_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP BackendBucket version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -183,9 +181,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_backend_bucket_facts': - module.deprecate("The 'gcp_compute_backend_bucket_facts' module has been renamed to 'gcp_compute_backend_bucket_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_backend_service_info.py b/plugins/modules/gcp_compute_backend_service_info.py index 4d17fac..378ef45 100644 --- a/plugins/modules/gcp_compute_backend_service_info.py +++ b/plugins/modules/gcp_compute_backend_service_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_backend_service_info description: - Gather info for GCP BackendService -- This module was called C(gcp_compute_backend_service_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP BackendService version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -419,9 +417,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_backend_service_facts': - module.deprecate("The 'gcp_compute_backend_service_facts' module has been renamed to 'gcp_compute_backend_service_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_disk_info.py b/plugins/modules/gcp_compute_disk_info.py index fb7eab3..e5ad346 100644 --- a/plugins/modules/gcp_compute_disk_info.py +++ b/plugins/modules/gcp_compute_disk_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_disk_info description: - Gather info for GCP Disk -- This module was called C(gcp_compute_disk_facts) before Ansible 2.9. The usage has - not changed. short_description: Gather info for GCP Disk version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -343,9 +341,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) - if module._name == 'gcp_compute_disk_facts': - module.deprecate("The 'gcp_compute_disk_facts' module has been renamed to 'gcp_compute_disk_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_firewall_info.py b/plugins/modules/gcp_compute_firewall_info.py index d848168..1e15679 100644 --- a/plugins/modules/gcp_compute_firewall_info.py +++ b/plugins/modules/gcp_compute_firewall_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_firewall_info description: - Gather info for GCP Firewall -- This module was called C(gcp_compute_firewall_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Firewall version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -299,9 +297,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_firewall_facts': - module.deprecate("The 'gcp_compute_firewall_facts' module has been renamed to 'gcp_compute_firewall_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_forwarding_rule_info.py b/plugins/modules/gcp_compute_forwarding_rule_info.py index e11d02b..49bdc35 100644 --- a/plugins/modules/gcp_compute_forwarding_rule_info.py +++ b/plugins/modules/gcp_compute_forwarding_rule_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_forwarding_rule_info description: - Gather info for GCP ForwardingRule -- This module was called C(gcp_compute_forwarding_rule_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP ForwardingRule version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -301,9 +299,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_forwarding_rule_facts': - module.deprecate("The 'gcp_compute_forwarding_rule_facts' module has been renamed to 'gcp_compute_forwarding_rule_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_global_address_info.py b/plugins/modules/gcp_compute_global_address_info.py index 3c6e059..5da2113 100644 --- a/plugins/modules/gcp_compute_global_address_info.py +++ b/plugins/modules/gcp_compute_global_address_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_global_address_info description: - Gather info for GCP GlobalAddress -- This module was called C(gcp_compute_global_address_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP GlobalAddress version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -200,9 +198,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_global_address_facts': - module.deprecate("The 'gcp_compute_global_address_facts' module has been renamed to 'gcp_compute_global_address_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_global_forwarding_rule_info.py b/plugins/modules/gcp_compute_global_forwarding_rule_info.py index 1a98a7e..f2e2f84 100644 --- a/plugins/modules/gcp_compute_global_forwarding_rule_info.py +++ b/plugins/modules/gcp_compute_global_forwarding_rule_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_global_forwarding_rule_info description: - Gather info for GCP GlobalForwardingRule -- This module was called C(gcp_compute_global_forwarding_rule_facts) before Ansible - 2.9. The usage has not changed. short_description: Gather info for GCP GlobalForwardingRule version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -280,9 +278,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_global_forwarding_rule_facts': - module.deprecate("The 'gcp_compute_global_forwarding_rule_facts' module has been renamed to 'gcp_compute_global_forwarding_rule_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_health_check_info.py b/plugins/modules/gcp_compute_health_check_info.py index f2480c3..73b99b4 100644 --- a/plugins/modules/gcp_compute_health_check_info.py +++ b/plugins/modules/gcp_compute_health_check_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_health_check_info description: - Gather info for GCP HealthCheck -- This module was called C(gcp_compute_health_check_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP HealthCheck version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -468,9 +466,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_health_check_facts': - module.deprecate("The 'gcp_compute_health_check_facts' module has been renamed to 'gcp_compute_health_check_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_http_health_check_info.py b/plugins/modules/gcp_compute_http_health_check_info.py index c633a4f..aed25bc 100644 --- a/plugins/modules/gcp_compute_http_health_check_info.py +++ b/plugins/modules/gcp_compute_http_health_check_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_http_health_check_info description: - Gather info for GCP HttpHealthCheck -- This module was called C(gcp_compute_http_health_check_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP HttpHealthCheck version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -200,9 +198,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_http_health_check_facts': - module.deprecate("The 'gcp_compute_http_health_check_facts' module has been renamed to 'gcp_compute_http_health_check_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_https_health_check_info.py b/plugins/modules/gcp_compute_https_health_check_info.py index 78b247b..fb34e8e 100644 --- a/plugins/modules/gcp_compute_https_health_check_info.py +++ b/plugins/modules/gcp_compute_https_health_check_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_https_health_check_info description: - Gather info for GCP HttpsHealthCheck -- This module was called C(gcp_compute_https_health_check_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP HttpsHealthCheck version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -200,9 +198,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_https_health_check_facts': - module.deprecate("The 'gcp_compute_https_health_check_facts' module has been renamed to 'gcp_compute_https_health_check_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_image_info.py b/plugins/modules/gcp_compute_image_info.py index 1e95e79..67272bb 100644 --- a/plugins/modules/gcp_compute_image_info.py +++ b/plugins/modules/gcp_compute_image_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_image_info description: - Gather info for GCP Image -- This module was called C(gcp_compute_image_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Image version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -331,9 +329,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_image_facts': - module.deprecate("The 'gcp_compute_image_facts' module has been renamed to 'gcp_compute_image_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_instance_group_info.py b/plugins/modules/gcp_compute_instance_group_info.py index 11f34a1..5d48b1f 100644 --- a/plugins/modules/gcp_compute_instance_group_info.py +++ b/plugins/modules/gcp_compute_instance_group_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_instance_group_info description: - Gather info for GCP InstanceGroup -- This module was called C(gcp_compute_instance_group_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP InstanceGroup version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -209,9 +207,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) - if module._name == 'gcp_compute_instance_group_facts': - module.deprecate("The 'gcp_compute_instance_group_facts' module has been renamed to 'gcp_compute_instance_group_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_instance_group_manager_info.py b/plugins/modules/gcp_compute_instance_group_manager_info.py index ba97143..83b31db 100644 --- a/plugins/modules/gcp_compute_instance_group_manager_info.py +++ b/plugins/modules/gcp_compute_instance_group_manager_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_instance_group_manager_info description: - Gather info for GCP InstanceGroupManager -- This module was called C(gcp_compute_instance_group_manager_facts) before Ansible - 2.9. The usage has not changed. short_description: Gather info for GCP InstanceGroupManager version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -284,9 +282,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) - if module._name == 'gcp_compute_instance_group_manager_facts': - module.deprecate("The 'gcp_compute_instance_group_manager_facts' module has been renamed to 'gcp_compute_instance_group_manager_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_instance_info.py b/plugins/modules/gcp_compute_instance_info.py index bc852d6..7f7d91d 100644 --- a/plugins/modules/gcp_compute_instance_info.py +++ b/plugins/modules/gcp_compute_instance_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_instance_info description: - Gather info for GCP Instance -- This module was called C(gcp_compute_instance_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Instance version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -571,9 +569,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) - if module._name == 'gcp_compute_instance_facts': - module.deprecate("The 'gcp_compute_instance_facts' module has been renamed to 'gcp_compute_instance_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_instance_template_info.py b/plugins/modules/gcp_compute_instance_template_info.py index 749c37e..4029468 100644 --- a/plugins/modules/gcp_compute_instance_template_info.py +++ b/plugins/modules/gcp_compute_instance_template_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_instance_template_info description: - Gather info for GCP InstanceTemplate -- This module was called C(gcp_compute_instance_template_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP InstanceTemplate version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -529,9 +527,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_instance_template_facts': - module.deprecate("The 'gcp_compute_instance_template_facts' module has been renamed to 'gcp_compute_instance_template_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_interconnect_attachment_info.py b/plugins/modules/gcp_compute_interconnect_attachment_info.py index 26a4294..0001879 100644 --- a/plugins/modules/gcp_compute_interconnect_attachment_info.py +++ b/plugins/modules/gcp_compute_interconnect_attachment_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_interconnect_attachment_info description: - Gather info for GCP InterconnectAttachment -- This module was called C(gcp_compute_interconnect_attachment_facts) before Ansible - 2.9. The usage has not changed. short_description: Gather info for GCP InterconnectAttachment version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -280,11 +278,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_interconnect_attachment_facts': - module.deprecate( - "The 'gcp_compute_interconnect_attachment_facts' module has been renamed to 'gcp_compute_interconnect_attachment_info'", version='2.13' - ) - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_network_endpoint_group_info.py b/plugins/modules/gcp_compute_network_endpoint_group_info.py index 1062eb7..5cee94d 100644 --- a/plugins/modules/gcp_compute_network_endpoint_group_info.py +++ b/plugins/modules/gcp_compute_network_endpoint_group_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_network_endpoint_group_info description: - Gather info for GCP NetworkEndpointGroup -- This module was called C(gcp_compute_network_endpoint_group_facts) before Ansible - 2.9. The usage has not changed. short_description: Gather info for GCP NetworkEndpointGroup version_added: '2.10' author: Google Inc. (@googlecloudplatform) @@ -189,9 +187,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) - if module._name == 'gcp_compute_network_endpoint_group_facts': - module.deprecate("The 'gcp_compute_network_endpoint_group_facts' module has been renamed to 'gcp_compute_network_endpoint_group_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_network_info.py b/plugins/modules/gcp_compute_network_info.py index c1f5667..f35f069 100644 --- a/plugins/modules/gcp_compute_network_info.py +++ b/plugins/modules/gcp_compute_network_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_network_info description: - Gather info for GCP Network -- This module was called C(gcp_compute_network_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Network version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -203,9 +201,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_network_facts': - module.deprecate("The 'gcp_compute_network_facts' module has been renamed to 'gcp_compute_network_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_node_group_info.py b/plugins/modules/gcp_compute_node_group_info.py index 7dc9f99..890a399 100644 --- a/plugins/modules/gcp_compute_node_group_info.py +++ b/plugins/modules/gcp_compute_node_group_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_node_group_info description: - Gather info for GCP NodeGroup -- This module was called C(gcp_compute_node_group_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP NodeGroup version_added: '2.10' author: Google Inc. (@googlecloudplatform) @@ -166,9 +164,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), zone=dict(required=True, type='str'))) - if module._name == 'gcp_compute_node_group_facts': - module.deprecate("The 'gcp_compute_node_group_facts' module has been renamed to 'gcp_compute_node_group_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_node_template_info.py b/plugins/modules/gcp_compute_node_template_info.py index bfb1611..bf62e57 100644 --- a/plugins/modules/gcp_compute_node_template_info.py +++ b/plugins/modules/gcp_compute_node_template_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_node_template_info description: - Gather info for GCP NodeTemplate -- This module was called C(gcp_compute_node_template_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP NodeTemplate version_added: '2.10' author: Google Inc. (@googlecloudplatform) @@ -190,9 +188,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_node_template_facts': - module.deprecate("The 'gcp_compute_node_template_facts' module has been renamed to 'gcp_compute_node_template_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_region_backend_service_info.py b/plugins/modules/gcp_compute_region_backend_service_info.py index 2f5ab23..bc3f6c1 100644 --- a/plugins/modules/gcp_compute_region_backend_service_info.py +++ b/plugins/modules/gcp_compute_region_backend_service_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_region_backend_service_info description: - Gather info for GCP RegionBackendService -- This module was called C(gcp_compute_region_backend_service_facts) before Ansible - 2.9. The usage has not changed. short_description: Gather info for GCP RegionBackendService version_added: '2.10' author: Google Inc. (@googlecloudplatform) @@ -230,9 +228,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(type='str'))) - if module._name == 'gcp_compute_region_backend_service_facts': - module.deprecate("The 'gcp_compute_region_backend_service_facts' module has been renamed to 'gcp_compute_region_backend_service_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_region_disk_info.py b/plugins/modules/gcp_compute_region_disk_info.py index 0818ea6..5fb534b 100644 --- a/plugins/modules/gcp_compute_region_disk_info.py +++ b/plugins/modules/gcp_compute_region_disk_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_region_disk_info description: - Gather info for GCP RegionDisk -- This module was called C(gcp_compute_region_disk_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP RegionDisk version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -289,9 +287,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_region_disk_facts': - module.deprecate("The 'gcp_compute_region_disk_facts' module has been renamed to 'gcp_compute_region_disk_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_route_info.py b/plugins/modules/gcp_compute_route_info.py index 674028d..c146668 100644 --- a/plugins/modules/gcp_compute_route_info.py +++ b/plugins/modules/gcp_compute_route_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_route_info description: - Gather info for GCP Route -- This module was called C(gcp_compute_route_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Route version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -203,9 +201,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_route_facts': - module.deprecate("The 'gcp_compute_route_facts' module has been renamed to 'gcp_compute_route_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_router_info.py b/plugins/modules/gcp_compute_router_info.py index 0120be0..0291c02 100644 --- a/plugins/modules/gcp_compute_router_info.py +++ b/plugins/modules/gcp_compute_router_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_router_info description: - Gather info for GCP Router -- This module was called C(gcp_compute_router_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Router version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -219,9 +217,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_router_facts': - module.deprecate("The 'gcp_compute_router_facts' module has been renamed to 'gcp_compute_router_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_ssl_certificate_info.py b/plugins/modules/gcp_compute_ssl_certificate_info.py index 14ed1ff..868b41c 100644 --- a/plugins/modules/gcp_compute_ssl_certificate_info.py +++ b/plugins/modules/gcp_compute_ssl_certificate_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_ssl_certificate_info description: - Gather info for GCP SslCertificate -- This module was called C(gcp_compute_ssl_certificate_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP SslCertificate version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -167,9 +165,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_ssl_certificate_facts': - module.deprecate("The 'gcp_compute_ssl_certificate_facts' module has been renamed to 'gcp_compute_ssl_certificate_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_ssl_policy_info.py b/plugins/modules/gcp_compute_ssl_policy_info.py index da6bd64..0ebb6b5 100644 --- a/plugins/modules/gcp_compute_ssl_policy_info.py +++ b/plugins/modules/gcp_compute_ssl_policy_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_ssl_policy_info description: - Gather info for GCP SslPolicy -- This module was called C(gcp_compute_ssl_policy_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP SslPolicy version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -205,9 +203,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_ssl_policy_facts': - module.deprecate("The 'gcp_compute_ssl_policy_facts' module has been renamed to 'gcp_compute_ssl_policy_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_subnetwork_info.py b/plugins/modules/gcp_compute_subnetwork_info.py index e522573..4eeaf72 100644 --- a/plugins/modules/gcp_compute_subnetwork_info.py +++ b/plugins/modules/gcp_compute_subnetwork_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_subnetwork_info description: - Gather info for GCP Subnetwork -- This module was called C(gcp_compute_subnetwork_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Subnetwork version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -228,9 +226,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_subnetwork_facts': - module.deprecate("The 'gcp_compute_subnetwork_facts' module has been renamed to 'gcp_compute_subnetwork_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_target_http_proxy_info.py b/plugins/modules/gcp_compute_target_http_proxy_info.py index d3ecfb1..cc4361c 100644 --- a/plugins/modules/gcp_compute_target_http_proxy_info.py +++ b/plugins/modules/gcp_compute_target_http_proxy_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_target_http_proxy_info description: - Gather info for GCP TargetHttpProxy -- This module was called C(gcp_compute_target_http_proxy_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP TargetHttpProxy version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -161,9 +159,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_target_http_proxy_facts': - module.deprecate("The 'gcp_compute_target_http_proxy_facts' module has been renamed to 'gcp_compute_target_http_proxy_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_target_https_proxy_info.py b/plugins/modules/gcp_compute_target_https_proxy_info.py index 634175c..7629b56 100644 --- a/plugins/modules/gcp_compute_target_https_proxy_info.py +++ b/plugins/modules/gcp_compute_target_https_proxy_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_target_https_proxy_info description: - Gather info for GCP TargetHttpsProxy -- This module was called C(gcp_compute_target_https_proxy_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP TargetHttpsProxy version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -184,9 +182,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_target_https_proxy_facts': - module.deprecate("The 'gcp_compute_target_https_proxy_facts' module has been renamed to 'gcp_compute_target_https_proxy_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_target_pool_info.py b/plugins/modules/gcp_compute_target_pool_info.py index d74771b..b8b4ae1 100644 --- a/plugins/modules/gcp_compute_target_pool_info.py +++ b/plugins/modules/gcp_compute_target_pool_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_target_pool_info description: - Gather info for GCP TargetPool -- This module was called C(gcp_compute_target_pool_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP TargetPool version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -220,9 +218,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_target_pool_facts': - module.deprecate("The 'gcp_compute_target_pool_facts' module has been renamed to 'gcp_compute_target_pool_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_target_ssl_proxy_info.py b/plugins/modules/gcp_compute_target_ssl_proxy_info.py index b05299c..80c8c9f 100644 --- a/plugins/modules/gcp_compute_target_ssl_proxy_info.py +++ b/plugins/modules/gcp_compute_target_ssl_proxy_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_target_ssl_proxy_info description: - Gather info for GCP TargetSslProxy -- This module was called C(gcp_compute_target_ssl_proxy_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP TargetSslProxy version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -180,9 +178,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_target_ssl_proxy_facts': - module.deprecate("The 'gcp_compute_target_ssl_proxy_facts' module has been renamed to 'gcp_compute_target_ssl_proxy_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_target_tcp_proxy_info.py b/plugins/modules/gcp_compute_target_tcp_proxy_info.py index 73255bc..f09cd56 100644 --- a/plugins/modules/gcp_compute_target_tcp_proxy_info.py +++ b/plugins/modules/gcp_compute_target_tcp_proxy_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_target_tcp_proxy_info description: - Gather info for GCP TargetTcpProxy -- This module was called C(gcp_compute_target_tcp_proxy_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP TargetTcpProxy version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -166,9 +164,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_target_tcp_proxy_facts': - module.deprecate("The 'gcp_compute_target_tcp_proxy_facts' module has been renamed to 'gcp_compute_target_tcp_proxy_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_target_vpn_gateway_info.py b/plugins/modules/gcp_compute_target_vpn_gateway_info.py index 3279e9e..4dcc86b 100644 --- a/plugins/modules/gcp_compute_target_vpn_gateway_info.py +++ b/plugins/modules/gcp_compute_target_vpn_gateway_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_target_vpn_gateway_info description: - Gather info for GCP TargetVpnGateway -- This module was called C(gcp_compute_target_vpn_gateway_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP TargetVpnGateway version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -182,9 +180,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_target_vpn_gateway_facts': - module.deprecate("The 'gcp_compute_target_vpn_gateway_facts' module has been renamed to 'gcp_compute_target_vpn_gateway_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_url_map_info.py b/plugins/modules/gcp_compute_url_map_info.py index 66194d7..6044cd3 100644 --- a/plugins/modules/gcp_compute_url_map_info.py +++ b/plugins/modules/gcp_compute_url_map_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_url_map_info description: - Gather info for GCP UrlMap -- This module was called C(gcp_compute_url_map_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP UrlMap version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -262,9 +260,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'))) - if module._name == 'gcp_compute_url_map_facts': - module.deprecate("The 'gcp_compute_url_map_facts' module has been renamed to 'gcp_compute_url_map_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_compute_vpn_tunnel_info.py b/plugins/modules/gcp_compute_vpn_tunnel_info.py index 7c618ef..e87efb2 100644 --- a/plugins/modules/gcp_compute_vpn_tunnel_info.py +++ b/plugins/modules/gcp_compute_vpn_tunnel_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_compute_vpn_tunnel_info description: - Gather info for GCP VpnTunnel -- This module was called C(gcp_compute_vpn_tunnel_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP VpnTunnel version_added: '2.7' author: Google Inc. (@googlecloudplatform) @@ -215,9 +213,6 @@ import json def main(): module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str'))) - if module._name == 'gcp_compute_vpn_tunnel_facts': - module.deprecate("The 'gcp_compute_vpn_tunnel_facts' module has been renamed to 'gcp_compute_vpn_tunnel_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/compute'] diff --git a/plugins/modules/gcp_container_cluster_info.py b/plugins/modules/gcp_container_cluster_info.py index d11428a..d24f656 100644 --- a/plugins/modules/gcp_container_cluster_info.py +++ b/plugins/modules/gcp_container_cluster_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_container_cluster_info description: - Gather info for GCP Cluster -- This module was called C(gcp_container_cluster_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Cluster version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -728,9 +726,6 @@ import json def main(): module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone']))) - if module._name == 'gcp_container_cluster_facts': - module.deprecate("The 'gcp_container_cluster_facts' module has been renamed to 'gcp_container_cluster_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform'] diff --git a/plugins/modules/gcp_container_node_pool_info.py b/plugins/modules/gcp_container_node_pool_info.py index 51d6574..9b32548 100644 --- a/plugins/modules/gcp_container_node_pool_info.py +++ b/plugins/modules/gcp_container_node_pool_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_container_node_pool_info description: - Gather info for GCP NodePool -- This module was called C(gcp_container_node_pool_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP NodePool version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -412,9 +410,6 @@ import json def main(): module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone']), cluster=dict(required=True, type='dict'))) - if module._name == 'gcp_container_node_pool_facts': - module.deprecate("The 'gcp_container_node_pool_facts' module has been renamed to 'gcp_container_node_pool_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform'] diff --git a/plugins/modules/gcp_dns_managed_zone_info.py b/plugins/modules/gcp_dns_managed_zone_info.py index f751c7a..3f514aa 100644 --- a/plugins/modules/gcp_dns_managed_zone_info.py +++ b/plugins/modules/gcp_dns_managed_zone_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_dns_managed_zone_info description: - Gather info for GCP ManagedZone -- This module was called C(gcp_dns_managed_zone_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP ManagedZone version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -255,9 +253,6 @@ import json def main(): module = GcpModule(argument_spec=dict(dns_name=dict(type='list', elements='str'))) - if module._name == 'gcp_dns_managed_zone_facts': - module.deprecate("The 'gcp_dns_managed_zone_facts' module has been renamed to 'gcp_dns_managed_zone_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/ndev.clouddns.readwrite'] diff --git a/plugins/modules/gcp_dns_resource_record_set_info.py b/plugins/modules/gcp_dns_resource_record_set_info.py index 2b0f6c6..97718dc 100644 --- a/plugins/modules/gcp_dns_resource_record_set_info.py +++ b/plugins/modules/gcp_dns_resource_record_set_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_dns_resource_record_set_info description: - Gather info for GCP ResourceRecordSet -- This module was called C(gcp_dns_resource_record_set_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP ResourceRecordSet version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -157,9 +155,6 @@ import json def main(): module = GcpModule(argument_spec=dict(managed_zone=dict(required=True, type='dict'))) - if module._name == 'gcp_dns_resource_record_set_facts': - module.deprecate("The 'gcp_dns_resource_record_set_facts' module has been renamed to 'gcp_dns_resource_record_set_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/ndev.clouddns.readwrite'] diff --git a/plugins/modules/gcp_iam_role_info.py b/plugins/modules/gcp_iam_role_info.py index 4500e41..769db73 100644 --- a/plugins/modules/gcp_iam_role_info.py +++ b/plugins/modules/gcp_iam_role_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_iam_role_info description: - Gather info for GCP Role -- This module was called C(gcp_iam_role_facts) before Ansible 2.9. The usage has not - changed. short_description: Gather info for GCP Role version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -153,9 +151,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_iam_role_facts': - module.deprecate("The 'gcp_iam_role_facts' module has been renamed to 'gcp_iam_role_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/iam'] diff --git a/plugins/modules/gcp_iam_service_account_info.py b/plugins/modules/gcp_iam_service_account_info.py index 62ff0d4..4b9e807 100644 --- a/plugins/modules/gcp_iam_service_account_info.py +++ b/plugins/modules/gcp_iam_service_account_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_iam_service_account_info description: - Gather info for GCP ServiceAccount -- This module was called C(gcp_iam_service_account_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP ServiceAccount version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -152,9 +150,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_iam_service_account_facts': - module.deprecate("The 'gcp_iam_service_account_facts' module has been renamed to 'gcp_iam_service_account_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/iam'] diff --git a/plugins/modules/gcp_pubsub_subscription_info.py b/plugins/modules/gcp_pubsub_subscription_info.py index a3fd50b..eceec78 100644 --- a/plugins/modules/gcp_pubsub_subscription_info.py +++ b/plugins/modules/gcp_pubsub_subscription_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_pubsub_subscription_info description: - Gather info for GCP Subscription -- This module was called C(gcp_pubsub_subscription_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP Subscription version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -231,9 +229,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_pubsub_subscription_facts': - module.deprecate("The 'gcp_pubsub_subscription_facts' module has been renamed to 'gcp_pubsub_subscription_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/pubsub'] diff --git a/plugins/modules/gcp_pubsub_topic_info.py b/plugins/modules/gcp_pubsub_topic_info.py index 7a410bb..981f1e8 100644 --- a/plugins/modules/gcp_pubsub_topic_info.py +++ b/plugins/modules/gcp_pubsub_topic_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_pubsub_topic_info description: - Gather info for GCP Topic -- This module was called C(gcp_pubsub_topic_facts) before Ansible 2.9. The usage has - not changed. short_description: Gather info for GCP Topic version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -158,9 +156,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_pubsub_topic_facts': - module.deprecate("The 'gcp_pubsub_topic_facts' module has been renamed to 'gcp_pubsub_topic_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/pubsub'] diff --git a/plugins/modules/gcp_redis_instance_info.py b/plugins/modules/gcp_redis_instance_info.py index 80f9194..00b27a4 100644 --- a/plugins/modules/gcp_redis_instance_info.py +++ b/plugins/modules/gcp_redis_instance_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_redis_instance_info description: - Gather info for GCP Instance -- This module was called C(gcp_redis_instance_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Instance version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -229,9 +227,6 @@ import json def main(): module = GcpModule(argument_spec=dict(region=dict(required=True, type='str'))) - if module._name == 'gcp_redis_instance_facts': - module.deprecate("The 'gcp_redis_instance_facts' module has been renamed to 'gcp_redis_instance_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform'] diff --git a/plugins/modules/gcp_resourcemanager_project_info.py b/plugins/modules/gcp_resourcemanager_project_info.py index a6ba0d2..9864763 100644 --- a/plugins/modules/gcp_resourcemanager_project_info.py +++ b/plugins/modules/gcp_resourcemanager_project_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_resourcemanager_project_info description: - Gather info for GCP Project -- This module was called C(gcp_resourcemanager_project_facts) before Ansible 2.9. - The usage has not changed. short_description: Gather info for GCP Project version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -179,9 +177,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_resourcemanager_project_facts': - module.deprecate("The 'gcp_resourcemanager_project_facts' module has been renamed to 'gcp_resourcemanager_project_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform'] diff --git a/plugins/modules/gcp_sourcerepo_repository_info.py b/plugins/modules/gcp_sourcerepo_repository_info.py index e987074..2f8a839 100644 --- a/plugins/modules/gcp_sourcerepo_repository_info.py +++ b/plugins/modules/gcp_sourcerepo_repository_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_sourcerepo_repository_info description: - Gather info for GCP Repository -- This module was called C(gcp_sourcerepo_repository_facts) before Ansible 2.9. The - usage has not changed. short_description: Gather info for GCP Repository version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -139,9 +137,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_sourcerepo_repository_facts': - module.deprecate("The 'gcp_sourcerepo_repository_facts' module has been renamed to 'gcp_sourcerepo_repository_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform'] diff --git a/plugins/modules/gcp_spanner_database_info.py b/plugins/modules/gcp_spanner_database_info.py index 89ceba9..1a49c86 100644 --- a/plugins/modules/gcp_spanner_database_info.py +++ b/plugins/modules/gcp_spanner_database_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_spanner_database_info description: - Gather info for GCP Database -- This module was called C(gcp_spanner_database_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Database version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -152,9 +150,6 @@ import json def main(): module = GcpModule(argument_spec=dict(instance=dict(required=True, type='dict'))) - if module._name == 'gcp_spanner_database_facts': - module.deprecate("The 'gcp_spanner_database_facts' module has been renamed to 'gcp_spanner_database_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/spanner.admin'] diff --git a/plugins/modules/gcp_spanner_instance_info.py b/plugins/modules/gcp_spanner_instance_info.py index 210c8c7..07b6909 100644 --- a/plugins/modules/gcp_spanner_instance_info.py +++ b/plugins/modules/gcp_spanner_instance_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_spanner_instance_info description: - Gather info for GCP Instance -- This module was called C(gcp_spanner_instance_facts) before Ansible 2.9. The usage - has not changed. short_description: Gather info for GCP Instance version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -155,9 +153,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_spanner_instance_facts': - module.deprecate("The 'gcp_spanner_instance_facts' module has been renamed to 'gcp_spanner_instance_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/spanner.admin'] diff --git a/plugins/modules/gcp_sql_database_info.py b/plugins/modules/gcp_sql_database_info.py index 9be73fb..8c0a271 100644 --- a/plugins/modules/gcp_sql_database_info.py +++ b/plugins/modules/gcp_sql_database_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_sql_database_info description: - Gather info for GCP Database -- This module was called C(gcp_sql_database_facts) before Ansible 2.9. The usage has - not changed. short_description: Gather info for GCP Database version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -155,9 +153,6 @@ import json def main(): module = GcpModule(argument_spec=dict(instance=dict(required=True, type='str'))) - if module._name == 'gcp_sql_database_facts': - module.deprecate("The 'gcp_sql_database_facts' module has been renamed to 'gcp_sql_database_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/sqlservice.admin'] diff --git a/plugins/modules/gcp_sql_instance_info.py b/plugins/modules/gcp_sql_instance_info.py index 3858b51..03f6d68 100644 --- a/plugins/modules/gcp_sql_instance_info.py +++ b/plugins/modules/gcp_sql_instance_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_sql_instance_info description: - Gather info for GCP Instance -- This module was called C(gcp_sql_instance_facts) before Ansible 2.9. The usage has - not changed. short_description: Gather info for GCP Instance version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -432,9 +430,6 @@ import json def main(): module = GcpModule(argument_spec=dict()) - if module._name == 'gcp_sql_instance_facts': - module.deprecate("The 'gcp_sql_instance_facts' module has been renamed to 'gcp_sql_instance_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/sqlservice.admin'] diff --git a/plugins/modules/gcp_sql_user_info.py b/plugins/modules/gcp_sql_user_info.py index 90cf9cb..65b947b 100644 --- a/plugins/modules/gcp_sql_user_info.py +++ b/plugins/modules/gcp_sql_user_info.py @@ -32,8 +32,6 @@ DOCUMENTATION = ''' module: gcp_sql_user_info description: - Gather info for GCP User -- This module was called C(gcp_sql_user_facts) before Ansible 2.9. The usage has not - changed. short_description: Gather info for GCP User version_added: '2.8' author: Google Inc. (@googlecloudplatform) @@ -155,9 +153,6 @@ import json def main(): module = GcpModule(argument_spec=dict(instance=dict(required=True, type='dict'))) - if module._name == 'gcp_sql_user_facts': - module.deprecate("The 'gcp_sql_user_facts' module has been renamed to 'gcp_sql_user_info'", version='2.13') - if not module.params['scopes']: module.params['scopes'] = ['https://www.googleapis.com/auth/sqlservice.admin']