An open API service indexing awesome lists of open source software.

https://github.com/msteinhoff/ansible-java-oracle-jdk

Ansible role that downloads and installs the official Oracle Java JDK.
https://github.com/msteinhoff/ansible-java-oracle-jdk

Last synced: 4 months ago
JSON representation

Ansible role that downloads and installs the official Oracle Java JDK.

Awesome Lists containing this project

README

          

# ansible-java-oracle-jdk

Ansible role which downloads and installs the Oracle Java SDK.

# Dependencies

None.

# Role Variables

Available variables are listed below, along with default values (see
`defaults/main.yml`).

All variables have set sensible defaults and usually should not need any
configuration.

## General settings

java_oracle_jdk_version: 8

Major Java version to install.

java_oracle_jdk_subversion: 72

Minor Java version to install.

java_oracle_jdk_target_directory: /usr/java

Base directory where the SDK files should be installed.

java_oracle_jdk_global_install: false

Install environment variables for the Java JDK in `/etc/profile.d`.

java_oracle_jdk_use_urandom: false

Use `/dev/urandom` instead of `/dev/random` in the default PRNG.

# Example Playbook

- hosts: java-hosts
roles:
- role: ansible-java-oracle-jdk
java_oracle_jdk_version: 8
java_oracle_jdk_subversion: 72

# License

MPLv2