|
|
|
@ -32,8 +32,6 @@ DOCUMENTATION = '''
|
|
|
|
module: gcp_spanner_database_info
|
|
|
|
module: gcp_spanner_database_info
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Gather info for GCP Database
|
|
|
|
- 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
|
|
|
|
short_description: Gather info for GCP Database
|
|
|
|
version_added: '2.8'
|
|
|
|
version_added: '2.8'
|
|
|
|
author: Google Inc. (@googlecloudplatform)
|
|
|
|
author: Google Inc. (@googlecloudplatform)
|
|
|
|
@ -152,9 +150,6 @@ import json
|
|
|
|
def main():
|
|
|
|
def main():
|
|
|
|
module = GcpModule(argument_spec=dict(instance=dict(required=True, type='dict')))
|
|
|
|
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']:
|
|
|
|
if not module.params['scopes']:
|
|
|
|
module.params['scopes'] = ['https://www.googleapis.com/auth/spanner.admin']
|
|
|
|
module.params['scopes'] = ['https://www.googleapis.com/auth/spanner.admin']
|
|
|
|
|
|
|
|
|
|
|
|
|