From 8aa113f629d0cee1a29d2d705fbb6960d4fcae25 Mon Sep 17 00:00:00 2001 From: Jill R <4121322+jillr@users.noreply.github.com> Date: Thu, 2 Dec 2021 02:58:06 -0700 Subject: [PATCH] Remove deprecated "facts" aliases (#814) Remove deprecated "facts" aliases SUMMARY Modules named "facts.py" that do not return ansible_facts were renamed to "info.py" in 2.9. Remove these aliases now that the deprecation period is over. This PR should be included in 3.0.0 of the collection. ISSUE TYPE Bugfix Pull Request COMPONENT NAME *_facts.py Reviewed-by: Mark Chappell Reviewed-by: Jill R Reviewed-by: None This commit was initially merged in https://github.com/ansible-collections/community.aws See: https://github.com/ansible-collections/community.aws/commit/68aaa7057be46a3ab36f572fd0013d64653af909 --- plugins/modules/route53_facts.py | 1 - plugins/modules/route53_info.py | 3 --- 2 files changed, 4 deletions(-) delete mode 120000 plugins/modules/route53_facts.py diff --git a/plugins/modules/route53_facts.py b/plugins/modules/route53_facts.py deleted file mode 120000 index 6b40f0529b0..00000000000 --- a/plugins/modules/route53_facts.py +++ /dev/null @@ -1 +0,0 @@ -route53_info.py \ No newline at end of file diff --git a/plugins/modules/route53_info.py b/plugins/modules/route53_info.py index 322ce7b0523..e2f1cd686ff 100644 --- a/plugins/modules/route53_info.py +++ b/plugins/modules/route53_info.py @@ -12,7 +12,6 @@ version_added: 1.0.0 description: - Gets various details related to Route53 zone, record set or health check details. - - This module was called C(route53_facts) before Ansible 2.9. The usage did not change. options: query: description: @@ -474,8 +473,6 @@ def main(): ], check_boto3=False, ) - if module._name == 'route53_facts': - module.deprecate("The 'route53_facts' module has been renamed to 'route53_info'", date='2021-12-01', collection_name='community.aws') try: route53 = module.client('route53')