An Ansible Role that manages installation and configuration of OpenJDK.
Available variables listed below, along with default values (see defaults/main.yml
):
openjdk_dir: /opt/openjdk
Storage directory.
openjdk_url: "https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz"
Distribution download URL.
openjdk_version: 11.0.2
Distribution version.
None.
- hosts: all
roles:
- nl2go.openjdk
Use docker-molecule following the instructions to run Molecule or install Molecule locally (not recommended, version conflicts might appear).
Provide Hetzner Cloud token:
export HCLOUD_TOKEN=123abc456efg
Use following to run tests:
molecule test --all
See the LICENSE.md file for details.
This role was created in 2020 by Newsletter2Go GmbH.