nl2go.openjdk

Build Status Ansible Galaxy GitHub tag (latest by date) Ansible Galaxy Downloads

Ansible Role: OpenJDK

An Ansible Role that manages installation and configuration of OpenJDK.

Role Variables

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.

Dependencies

None.

Example Playbook

- hosts: all
  roles:
    - nl2go.openjdk

Development

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

Maintainers

License

See the LICENSE.md file for details.

Author Information

This role was created in 2020 by Newsletter2Go GmbH.

About

An Ansible Role that manages installation and configuration of OpenJDK

Install
ansible-galaxy install nl2go.openjdk
GitHub repository
License
mit
Downloads
7.3k