Using Peter Sankauskas EC2 inventory file. Assuming Ansible is setup, see old post for setting up Ansible or here. The ansible/plugins/inventory/ec2.ini file is read by ec2.py. To limit it to us-east-1 only: Testing the inventory file: Now for Ansible simple commands: Update: (11/16/2012) Use ssh agent for EC2 keypairs. Now for a sample playbook filenamed [...]
I’ve created Ansible’s Ubuntu PPA at https://launchpad.net/~rquillo/+archive/ansible Might help others who are using Ubuntu distro. Using Ubuntu Precise as overlord machine, you can install Ansible using the PPA with the commands: There you go! Happy Ansibling Ubuntu users!