Ansible role to install OpenJDK 8.
---
- hosts: servers
roles:
- codeyourinfra.java8
The role requires the ansible_distribution variable, obtained through the gathering facts phase. So please don't turn off facts.
The build process is performed in Travis CI. During the build, the role is tested by using Molecule.
First of all, create your Python virtual environment and activate it:
python -m venv env && source env/bin/activate
After that, install all requirements:
pip install wheel && pip install -r requirements.txt
And finally execute the test:
molecule test
@gustavomcarmo is a contributor of Codeyourinfra. Get on board too! :)