[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_compute_target_https_proxy_info
description:
- Gather info for GCP TargetHttpsProxy
- This module was called C(gcp_compute_target_https_proxy_facts) before Ansible 2.9.
The usage has not changed.
short_description: Gather info for GCP TargetHttpsProxy
version_added: '2.7'
author: Google Inc. (@googlecloudplatform)
@ -184,9 +182,6 @@ import json
def main():
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str')))
if module._name == 'gcp_compute_target_https_proxy_facts':
module.deprecate("The 'gcp_compute_target_https_proxy_facts' module has been renamed to 'gcp_compute_target_https_proxy_info'", version='2.13')
if not module.params['scopes']:
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']