Ansible Example of Jenkins
Commands all assume your using a Mac, so for Linux or Windows you might need to change steps but I’m unaware what changes are needed.
The following have been tested, other combinations might work;
Simple as, vagrant up
, and a new vm will be created, with Java 8 and Jenkins installed.
The files setup_*.yaml
are used as a work around to install the latest version of ansible, including git so that ansible galaxy can install from github.