Install Java JREs and optionally JDKs.
Optional variables:
java_versions
: A list of Java versions to install, default["8"]
, versions other than"8"
and"11"
may work but are not supportedjava_jdk_install
: IfTrue
install JDKs corresponding to the JRE versions, defaultFalse
- hosts: servers
roles:
- { role: ome.java }
BSD