Bug fixes for GCP modules (#63603)
This commit is contained in:
parent
8b0927fe16
commit
1971d1111e
6 changed files with 0 additions and 30 deletions
|
@ -32,8 +32,6 @@ DOCUMENTATION = '''
|
||||||
module: gcp_bigquery_dataset_info
|
module: gcp_bigquery_dataset_info
|
||||||
description:
|
description:
|
||||||
- Gather info for GCP Dataset
|
- 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
|
short_description: Gather info for GCP Dataset
|
||||||
version_added: '2.8'
|
version_added: '2.8'
|
||||||
author: Google Inc. (@googlecloudplatform)
|
author: Google Inc. (@googlecloudplatform)
|
||||||
|
@ -312,9 +310,6 @@ import json
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
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']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,6 @@ DOCUMENTATION = '''
|
||||||
module: gcp_bigquery_table_info
|
module: gcp_bigquery_table_info
|
||||||
description:
|
description:
|
||||||
- Gather info for GCP Table
|
- 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
|
short_description: Gather info for GCP Table
|
||||||
version_added: '2.8'
|
version_added: '2.8'
|
||||||
author: Google Inc. (@googlecloudplatform)
|
author: Google Inc. (@googlecloudplatform)
|
||||||
|
@ -587,9 +585,6 @@ import json
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(dataset=dict(type='str')))
|
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']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/bigquery']
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,6 @@ DOCUMENTATION = '''
|
||||||
module: gcp_cloudbuild_trigger_info
|
module: gcp_cloudbuild_trigger_info
|
||||||
description:
|
description:
|
||||||
- Gather info for GCP Trigger
|
- 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
|
short_description: Gather info for GCP Trigger
|
||||||
version_added: '2.8'
|
version_added: '2.8'
|
||||||
author: Google Inc. (@googlecloudplatform)
|
author: Google Inc. (@googlecloudplatform)
|
||||||
|
@ -365,9 +363,6 @@ import json
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict())
|
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']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,6 @@ DOCUMENTATION = '''
|
||||||
module: gcp_compute_address_info
|
module: gcp_compute_address_info
|
||||||
description:
|
description:
|
||||||
- Gather info for GCP Address
|
- 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
|
short_description: Gather info for GCP Address
|
||||||
version_added: '2.7'
|
version_added: '2.7'
|
||||||
author: Google Inc. (@googlecloudplatform)
|
author: Google Inc. (@googlecloudplatform)
|
||||||
|
@ -208,9 +206,6 @@ import json
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
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']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,6 @@ DOCUMENTATION = '''
|
||||||
module: gcp_compute_backend_bucket_info
|
module: gcp_compute_backend_bucket_info
|
||||||
description:
|
description:
|
||||||
- Gather info for GCP BackendBucket
|
- 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
|
short_description: Gather info for GCP BackendBucket
|
||||||
version_added: '2.7'
|
version_added: '2.7'
|
||||||
author: Google Inc. (@googlecloudplatform)
|
author: Google Inc. (@googlecloudplatform)
|
||||||
|
@ -183,9 +181,6 @@ import json
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
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']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,6 @@ DOCUMENTATION = '''
|
||||||
module: gcp_compute_backend_service_info
|
module: gcp_compute_backend_service_info
|
||||||
description:
|
description:
|
||||||
- Gather info for GCP BackendService
|
- 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
|
short_description: Gather info for GCP BackendService
|
||||||
version_added: '2.7'
|
version_added: '2.7'
|
||||||
author: Google Inc. (@googlecloudplatform)
|
author: Google Inc. (@googlecloudplatform)
|
||||||
|
@ -419,9 +417,6 @@ import json
|
||||||
def main():
|
def main():
|
||||||
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
|
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']:
|
if not module.params['scopes']:
|
||||||
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue