Bug fixes for GCP modules (#63607)
This commit is contained in:
parent
32e8a716ea
commit
66202c385e
6 changed files with 0 additions and 30 deletions
|
@ -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']
|
||||
|
||||
|
|
|
@ -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']
|
||||
|
||||
|
|
|
@ -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']
|
||||
|
||||
|
|
|
@ -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']
|
||||
|
||||
|
|
|
@ -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']
|
||||
|
||||
|
|
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in a new issue