This is a basic example project for my Ansible, live on stage talk at the New Zealand PHP Conference 2015.
For more information: http://stephen.rees-carter.net/talks/ansible-live
- Update
hostswith the two hosts you wish to deploy the applications onto. - Rename the
host_vars/combinationandhost_vars/shoutboxfiles to match the hosts you specified inhosts. - Update the
ansible_ssh_uservariables in thehost_vars/*files, if required. - Run
ansible-playbook servers.yml
Note: this has been tested on Ubuntu 14.04 only.