This is a set of ansible playbooks I am using for demo purposes. See my blog for more details: http://benincosa.com
The intent is to eventually show how to run Ansible with Docker on
- AWS
- OpenStack (MetaCloud)
- Digital Ocean
I also hope to add some modules for Cisco UCS, Nexus, and ACI
Do this on OSX.
brew install ansible
See the README.md file in the OpenStack Directory
See my blog article for more info
You'll need an AWS account.
Add your keypair into roles/ec2/vars/main.yml so that you can log into the
AWS instances after you create them.
This demo will do the following:
- Provision an AWS EC2 ubuntu instance (tiny-m1)
- Install Docker and Docker Python libraries
- Install and run a MySQL and Wordpress container
Run the command:
cd EC2-Demo/
ansible-playbook site.yml