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: about 2 months ago
JSON representation
An Ansible Role that manages installation and configuration of OpenJDK
- Host: GitHub
- URL: https://github.com/nl2go/ansible-role-openjdk
- Owner: nl2go
- License: mit
- Created: 2020-05-29T11:31:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T12:20:17.000Z (almost 6 years ago)
- Last Synced: 2025-02-27T00:41:27.939Z (over 1 year ago)
- Topics: ansible, ansible-role, openjdk
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://travis-ci.org/nl2go/ansible-role-openjdk)
[](https://galaxy.ansible.com/nl2go/openjdk/)
[](https://galaxy.ansible.com/nl2go/openjdk)
[](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/).