An Ansible role to setup Oracle Java Development Kit.
- ansible >= 1.8.4
variable | default | description |
---|---|---|
oracle_java_version | 8 | the Oracle JDK version to be installed. |
oracle_java_state | latest | the package state (see Ansible apt module for more information). |
oracle_java_default | no | make the newly installed Java the default runtime environment. |
oracle_java_cache_valid_time | 3600 | the amount of time in seconds the apt cache is valid. |
For Debian and Ubuntu this role depends on:
- ansiblebit.launchpad-ppa-webupd8
- hosts: servers
roles:
- { role: ansiblebit.oracle-java, oracle_java_default: yes }
- v0.0.8 : 30 April 2015
- initial release of this role with support for Debian
- dependency on ansiblebit.launchpad-ppa-webupd8 v1.1.0
- ansible dependency set to 1.8.4
BSD