A vagrant example for multi-machine configuration and provisioning with Ansible. Provisions a Percona database server and a Tomcat application server.
- Ansible 1.5 or newer
- Vagrant 1.7 or newer
- CentOS 6.4*
*This project does not provide a base Vagrant box for you! Visit vagrantbox.es to download one.
This example borrows heavily from the tomcat-standalone example provided by ansible-examples. It is modified to provision Tomcat 6 instead, and it makes assumptions for a Vagrant-only environment.
- DB:
guest 3306 -> host 3306
Connect to localhost:3306 with a MySQL client. - Tomcat:
guest 8080 -> host 8088
Browse to localhost:8088 to see Tomcat.
- DB:
localdb/localdb