Ansible role to install Oracle Java 8.
---
- hosts: servers
roles:
- codeyourinfra.oracle_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.
Inside your Python virtual environment, run:
pip install -r requirements.txt
And then:
molecule test
@gustavomcarmo is a contributor of Codeyourinfra. Get on board too! :)