noobient.java
noobient.java
Synopsys
This role lets you install various flavors and versions of Java.
Parameters
| Name | Required | Example | Description |
|---|---|---|---|
version |
no | 17 |
Java major version to install. Supported values are 8, 11, 17. Defaults to 17. |
flavor |
no | distro |
Java distribution to install. Supported values are corretto, distro, liberica, microsoft, temurin, zulu. Defaults to distro. |
For a complete list of supported Java versions, please refer to flavor_support in vars/main.yml.
Examples
- include_role:
name: noobient.java
- include_role:
name: noobient.java
vars:
version: 11
flavor: microsoft
Return Values
| Key | Type | Example | Description |
|---|---|---|---|
java.java_home |
string | /usr/lib/jvm/bellsoft-java8-amd64 |
JAVA_HOME of the Java release installed by this role. |
Support
| Platform | Support | Status |
|---|---|---|
| Linter | ✅ | |
| AlmaLinux 8 | ✅ | |
| AlmaLinux 9 | ✅ | |
| Fedora 38 | ✅ | |
| Fedora 39 | ✅ | |
| Ubuntu 18.04 | ✅ | |
| Ubuntu 20.04 | ✅ | |
| Ubuntu 22.04 | ✅ |
Install
ansible-galaxy install noobient.javaLicense
mit
Downloads
244
Owner
