This is the starting point for a tutorial which will be held at the Velocity Conference in Barcelona November 19th.
Install Python setuptools: https://pypi.python.org/pypi/setuptools#installation-instructions
If you prefer not to install packages to your global site-packages
you can install and use virtualenv: http://virtualenv.readthedocs.org/en/latest/
sudo easy_install pip
sudo pip install paramiko PyYAML jinja2 passlib
sudo pip install ansible
Then, if you're going to update ansible later, just do:
sudo pip install ansible --upgrade
http://www.ansibleworks.com/docs/intro_installation.html
https://www.virtualbox.org/wiki/Downloads
http://docs.vagrantup.com/v2/installation/
Install vagrant-cachier to speed up apt with a shared cache between boxes:
vagrant plugin install vagrant-cachier
Clone this repo, and start the virtual machines:
git clone https://github.com/steinim/zero-downtime-ansible.git
cd zero-downtime-ansible
vagrant up
ansible-playbook -i localhost --ask-sudo-pass localhost.yml
ansible-playbook site.yml
http://www.oracle.com/technetwork/articles/javase/index-jsp-138363.html
http://maven.apache.org/download.cgi
cd helloworld-java-app
mvn clean install