Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nl2go/ansible-role-openjdk

An Ansible Role that manages installation and configuration of OpenJDK
https://github.com/nl2go/ansible-role-openjdk

ansible ansible-role openjdk

Last synced: 27 days ago
JSON representation

An Ansible Role that manages installation and configuration of OpenJDK

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/nl2go/ansible-role-openjdk.svg?branch=master)](https://travis-ci.org/nl2go/ansible-role-openjdk)
[![Ansible Galaxy](https://img.shields.io/badge/role-nl2go.openjdk-blue.svg)](https://galaxy.ansible.com/nl2go/openjdk/)
[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/nl2go/ansible-role-openjdk)](https://galaxy.ansible.com/nl2go/openjdk)
[![Ansible Galaxy Downloads](https://img.shields.io/ansible/role/d/48976.svg?color=blue)](https://galaxy.ansible.com/nl2go/openjdk/)

# Ansible Role: OpenJDK

An Ansible Role that manages installation and configuration of [OpenJDK](https://openjdk.openjdk.net/).

## 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](https://github.com/nl2go/docker-molecule) following the instructions to run [Molecule](https://molecule.readthedocs.io/en/stable/)
or install [Molecule](https://molecule.readthedocs.io/en/stable/) locally (not recommended, version conflicts might appear).

Provide Hetzner Cloud token:

export HCLOUD_TOKEN=123abc456efg

Use following to run tests:

molecule test --all

## Maintainers

- [build-failure](https://github.com/build-failure)

## License

See the [LICENSE.md](LICENSE.md) file for details.

## Author Information

This role was created in 2020 by [Newsletter2Go GmbH](https://www.newsletter2go.com/).