Ansible role: A Jenkins installation completely configured with Ansible.
Setup a test environment by running vagrant up
in test directory.
Execute vagrant ssh -c rake
to run unit tests.
This role has dependency on geerlingguy.java.
geerlingguy.java supports OpenJDK 11 installation out of the box with, by specifying java_packages variable in inventory / playbook / extra vars like this:
RedHat/Centos:
vars:
java_packages:
- java-11-openjdk
Debian/Ubuntu:
vars:
java_packages:
- openjdk-11-jdk