Required tools to make sure vagrant and ansible run OK:
- Vagrant >= 1.4.3
- Ansible >= 1.4
- Virtualbox
Download and install vagrant from vagrantup.com
The quickest way to get up and running with ansible is installing it in a virtualenv.
virtualenv vagrant-ansible
source vagrant-ansible/bin/activate
pip install ansible
vagrant up
This will provide you with 2 virtualmachines, one with httpd installed and running on it, and one without.
Note: You might want to run it twice, 'complex' infra is a bit tricky in Vagrant. When running this twice, both machines will be up and you will be able to use them both in your playbooks.
Dieter Verhelst -- info@werus.be