Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes for GCP (as of 2019-10-16T06:05:52+00:00) #63603

Merged
merged 1 commit into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions lib/ansible/modules/cloud/google/gcp_bigquery_dataset_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
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)
Expand Down Expand Up @@ -312,9 +310,6 @@
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']

Expand Down
5 changes: 0 additions & 5 deletions lib/ansible/modules/cloud/google/gcp_bigquery_table_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
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)
Expand Down Expand Up @@ -587,9 +585,6 @@
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']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
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)
Expand Down Expand Up @@ -365,9 +363,6 @@
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']

Expand Down
5 changes: 0 additions & 5 deletions lib/ansible/modules/cloud/google/gcp_compute_address_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
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)
Expand Down Expand Up @@ -208,9 +206,6 @@
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']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
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)
Expand Down Expand Up @@ -183,9 +181,6 @@
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']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
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)
Expand Down Expand Up @@ -419,9 +417,6 @@
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']

Expand Down