DCD-224: Move EC2 metadata retrieval to aws_common

This commit is contained in:
Steve Smith
2019-04-11 12:02:41 +10:00
parent bc893a0a2e
commit 1651b7b3ee
5 changed files with 9 additions and 11 deletions

View File

@@ -6,3 +6,8 @@
- ec2-utils
- amazon-ssm-agent
- amazon-efs-utils
- name: Fetch local EC2 metadata
ec2_metadata_facts:
# Guard is mostly for testing
when: ansible_system_vendor == "Amazon EC2"