Intended as an environment to play with Jenkins for apprentices and trainees to work on.
- Install ansible
- Run vagrant up
- Connect to http://localhost:9001/ on the host
- VirtualBox
- Vagrant
- Python
The code was developed and tested on a Mac but should work fine on other platforms that meet the above requirements.
Since Ansible has been packaged for use with pip I've used virtualenv for python to allow a local installation that doesn't need admin access or muck up any of your system libraries. I prefer this approach as it's cleaner and has less in the way of side-affects. Feel free to install ansible from RPMs/.deb or other package managers onto your system natively if that is easier for you.
Create a virtual python environment and activate it
virtualenv ansible-env
. ansible-env/bin/activate
Install ansible
pip install ansible
Start VM using this
vagrant up
There are instructions and links to the RPM repository and packages available, here