antonchernik.oracle-jdk
Oracle JDK
Ansible role for installing Oracle JDK. It has been tested on the following platforms:
- Debian 8
- Ubuntu 16
Requirements
You need:
- Debian 8 (jessie)
- Ubuntu 16 (xenial)
Role Variables
Here are the available variables with their default values (see defaults/main.yml):
Parameter | Required | Default | Choices | Comments |
---|---|---|---|---|
default_download_directory | yes | /tmp | This is the folder where files will be downloaded | |
jdk_tarball_url | yes | http://download.oracle.com/otn-pub/java/jdk/8u162-b12/0da788060d494f5095bf8624735fa2f1/jdk-8u162-linux-x64.tar.gz | This is the URL for the Oracle JDK tarball | |
jdk_tarball_file | yes | jdk-8u162-linux-x64 | This is the name of the Oracle JDK tarball file | |
jdk_tarball_directory | yes | jira | jdk1.8.0_162 | This is the directory where Oracle JDK will be extracted |
java_home_directory | yes | /usr/lib/jvm | This sets the path for JAVA_HOME |
Dependencies
There are no dependencies.
Example
---
- hosts: all
roles:
- { role: antonchernik.oracle-jdk }
License
This role is licensed under MIT / BSD.
Author Information
This role was created in 2017 by Anton Chernik.
Installa
ansible-galaxy install antonchernik.oracle-jdk
Licenza
mit
Download
167
Proprietario