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-17T06:05:58Z) #63607

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

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

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

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

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

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

Expand Down