Set up (the latest or a specific update version of) oracle-java in Ubuntu systems.
update-alternatives
software-properties-common
(will be installed)dirmngr
(will be installed)
oracle_java_versions
: [default:[{version: 7, set_as_default: true}]
]: Oracle java version(s) to installoracle_java_versions.{n}.version
: [required]: Version to installoracle_java_versions.{n}.set_as_default
: [optional]: Whether or not to set as defaultoracle_java_versions.{n}.update_version
: [optional]: A specific update version to use (e.g.8u121-1~webupd8~0
). Must be a version of webupd8team. If undefined, the latest (update) version is installed
None
---
- hosts: all
roles:
- oefenweb.oracle-java
---
- hosts: all
roles:
- oefenweb.oracle-java
vars:
oracle_java_versions:
- version: 7
- version: 8
set_as_default: true
update_version: '8u121-1~webupd8~0'
MIT
Mischa ter Smitten
Are welcome!