Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Support Ansible 2.4 #20

Open
s01ipsist opened this issue Dec 1, 2017 · 0 comments · Fixed by baileywickham/ansible-role-aws-cloudwatch-logs-agent#1
Open

Support Ansible 2.4 #20

s01ipsist opened this issue Dec 1, 2017 · 0 comments · Fixed by baileywickham/ansible-role-aws-cloudwatch-logs-agent#1

Comments

@s01ipsist
Copy link

https://github.com/ansible/ansible/blob/devel/CHANGELOG.md#deprecated-modules-to-be-removed-in-28
ec2_facts has been deprecated and replaced by
https://docs.ansible.com/ansible/2.4/ec2_metadata_facts_module.html
but the outputs appear the same.

Could use
http://docs.ansible.com/ansible/latest/playbooks_variables.html#ansible-version
to switch based on running ansible version

Could also "not" call this module if ansible_ec2_placement_region is already defined although that might only work for people who have hardcoded regions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant