Skip to content

codeyourinfra/java8

Repository files navigation

java8

License: MIT GitHub release Build status Ansible Role Ansible Role downloads

Ansible role to install OpenJDK 8.

Example Playbook

---
- 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.

Build process

The build process is performed in Travis CI. During the build, the role is tested by using Molecule.

Test yourself

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

Author Information

@gustavomcarmo is a contributor of Codeyourinfra. Get on board too! :)