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.
- Host: GitHub
- URL: https://github.com/msteinhoff/ansible-java-oracle-jdk
- Owner: msteinhoff
- Created: 2016-03-24T23:32:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-26T17:43:22.000Z (over 8 years ago)
- Last Synced: 2025-03-01T19:29:07.979Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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