A barebones setup for an Ansible project to manage AWS instances using Ansible's "Dynamic Inventory" script, and is only meant to get you started with Ansible and AWS.
- Git clone this repo.
- Export your AWS keys (or add the commands to your .profile or .bashrc)
- Run it
ansible-playbook -i inventory/ec2.py playbook.yml
Running this script will create the following resources on your AWS account and YOU COULD BE CHARGED.
1 local ssh key; ~/.ssh/id_rsa (if it doesn't exist)
1 VPC Internet Gateway
2 t2.micro EC2 instances
2 EC2 Security Groups