sborenst / ansible_aws_deployer

20 stars 20 forks source link

dynamic inventory should use Ansible features and not AWS CLI #43

Open thoraxe opened 7 years ago

thoraxe commented 7 years ago

https://github.com/sborenst/ansible_aws_deployer/blob/master/ansible/dynamic_inventory.yml

We should be using Ansible's built-in dynamic inventory for handling inventory instead of running the AWS CLI directly.

Specifically, for EC2:

http://docs.ansible.com/ansible/intro_dynamic_inventory.html#example-aws-ec2-external-inventory-script