[Ansible] Stop building deprecated facts modules in collections

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
Alex Stephen 2019-10-16 17:54:28 +00:00 committed by Modular Magician
parent e5ab367a20
commit 10ef9cc739
55 changed files with 0 additions and 277 deletions

View file

@ -32,8 +32,6 @@ DOCUMENTATION = '''
module: gcp_sql_database_info
description:
- Gather info for GCP Database
- This module was called C(gcp_sql_database_facts) before Ansible 2.9. The usage has
not changed.
short_description: Gather info for GCP Database
version_added: '2.8'
author: Google Inc. (@googlecloudplatform)
@ -155,9 +153,6 @@ import json
def main():
module = GcpModule(argument_spec=dict(instance=dict(required=True, type='str')))
if module._name == 'gcp_sql_database_facts':
module.deprecate("The 'gcp_sql_database_facts' module has been renamed to 'gcp_sql_database_info'", version='2.13')
if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/sqlservice.admin']