Remove deprecated ec2_facts (#44536)
* Remove deprecated ec2_facts * Add changelog
This commit is contained in:
parent
5ea7480e90
commit
a1febd95b7
3 changed files with 2 additions and 4 deletions
2
changelogs/fragments/ec2-facts.yaml
Normal file
2
changelogs/fragments/ec2-facts.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
removed_features:
|
||||
- ec2_facts - deprecated module removed (https://github.com/ansible/ansible/pull/44536)
|
|
@ -1 +0,0 @@
|
|||
ec2_metadata_facts.py
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue