Skip to content

Ansible Role to install Oracle JDK via webupd8-team package on Debian

License

Notifications You must be signed in to change notification settings

deveth0/ansible-oracle-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Oracle Java Build Status

Installs the Oracle Java JDK using a package provided by http://www.webupd8.org on Debian/Ubuntu Linux servers. See also my blog

Installation

You can either use ansible-galaxy to install this role:

ansible-galaxy install deveth0.oracle-java

Or checkout this git-repository to your roles directory:

git clone https://github.com/deveth0/ansible-oracle-java.git deveth0.oracle_java

Role Variables

Available variables are listed below, along with the default values:

You can configure which java-version to use:

oracle_java_version: 8

By default the Java environment variables are set:

oracle_java_set_default: True

Dependencies

No dependencies required

Example Playbook

- hosts: foo
  roles:
    - role: deveth0.oracle-java
      oracle_java_version: 7

License

Apache License 2.0

Author Information

This Role was created by Alex Muthmann.

About

Ansible Role to install Oracle JDK via webupd8-team package on Debian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published