Role that installs openjdk. The Zulu distribution is optionally used (default on Trusty that does not have a valid openjdk repository)
Go to file
Andrea Dell'Amico 81d84b0638
Fix the meta information.
2023-12-06 16:50:38 +01:00
defaults Option to force the set of the default jdk. 2022-09-16 19:08:31 +02:00
handlers Do not set the default jdk using alternatives. 2020-07-31 17:06:37 +02:00
meta Fix the meta information. 2023-12-06 16:50:38 +01:00
tasks Ignore errors from update-java-alternatives 2023-06-23 13:45:49 +02:00
tests Initial commit 2020-05-28 14:32:39 +02:00
vars Initial commit 2020-05-28 14:32:39 +02:00
.gitignore Initial commit 2020-05-28 14:32:39 +02:00
LICENSE Initial commit 2020-05-28 14:32:39 +02:00
README.md OpenJDK role that works on both deb/ubuntu and EL. 2020-05-28 16:10:25 +02:00

README.md

Role Name

A role that installs OpenJDK. The role removes a Oracle JDK if it finds it on the system (Ubuntu only)

Role Variables

Here are listed the most important defaults. See defaults/main.yml for the complete set of variables.

openjdk_default: 8
openjdk_pkgs:
  - jre-headless
  - jdk-headless
#  - jre
#  - jdk

Dependencies

None

License

EUPL-1.2

Author Information

Andrea DellAmico, andrea.dellamico@isti.cnr.it