Remove deprecated ec2_facts (#44536)

* Remove deprecated ec2_facts

* Add changelog
This commit is contained in:
Matt Martz 2018-08-22 16:48:22 -05:00 committed by GitHub
parent 5ea7480e90
commit a1febd95b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -0,0 +1,2 @@
removed_features:
- ec2_facts - deprecated module removed (https://github.com/ansible/ansible/pull/44536)

View file

@ -1 +0,0 @@
ec2_metadata_facts.py

View file

@ -541,9 +541,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ec2_facts':
module.deprecate("The 'ec2_facts' module is being renamed 'ec2_metadata_facts'", version=2.7)
ec2_metadata_facts = Ec2Metadata(module).run()
ec2_metadata_facts_result = dict(changed=False, ansible_facts=ec2_metadata_facts)