Skip to content

Commit

Permalink
Remove deprecated "facts" aliases (#814)
Browse files Browse the repository at this point in the history
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 <None>
Reviewed-by: Jill R <None>
Reviewed-by: None <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@68aaa70
  • Loading branch information
jillr authored and goneri committed Sep 20, 2022
1 parent c5ba2aa commit e414548
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion plugins/modules/elb_application_lb_facts.py

This file was deleted.

4 changes: 0 additions & 4 deletions plugins/modules/elb_application_lb_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
short_description: Gather information about application ELBs in AWS
description:
- Gather information about application ELBs in AWS
- This module was called C(elb_application_lb_facts) before Ansible 2.9. The usage did not change.
author: Rob White (@wimnat)
options:
load_balancer_arns:
Expand Down Expand Up @@ -254,9 +253,6 @@ def main():
mutually_exclusive=[['load_balancer_arns', 'names']],
supports_check_mode=True,
)
if module._name == 'elb_application_lb_facts':
module.deprecate("The 'elb_application_lb_facts' module has been renamed to 'elb_application_lb_info'",
date='2021-12-01', collection_name='community.aws')

try:
connection = module.client('elbv2')
Expand Down

0 comments on commit e414548

Please sign in to comment.