GithubHelp home page GithubHelp logo

kami911 / ansible-role-java-oracle-jdk10 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 181 KB

Easy way of Java 8 Oracle JDK installation on Linux. Supports remote download, local download of official package, symlinking to lastest folder, alternatives settings.

Home Page: https://galaxy.ansible.com/KAMI911/java_oracle_jdk10

License: MIT License

Python 17.41% Shell 7.73% Jinja 74.86%
development system linux java-installation java jdk ansible ansible-role oracle

ansible-role-java-oracle-jdk10's Introduction

Ansible Role: Installs Java 10 Oracle JDK or Server JRE

Easy way of Java 10 Oracle JDK installation on Linux. Supports remote download, local download of official package, symlinking to lastest folder, alternatives settings.

Travis status: Build Status Code Climate status: Code Climate Test Coverage status: Test Coverage

Requirements

None.

Role Variables

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

force_java_install: False

Force to install Java on already installed system.

java_installer_force_overwrite: False

Force to overwrite Java installer.

java_installer_keep: False

Do not delete Java installer.

java_installer_local: False

Install local (form Ansible host) JDK/Server JRE instead of downloading on target machine.

java_type: jdk

Type of Java installer - JDK is: jdk, and Server JRE is: serverjre

java_version: 10

Java major version.

java_update: 0

Java minor version.

java_build: "10"

Java micro version.

java_platform: linux-x64

Java platform to install.

java_bins: [ 'javah', 'javap', 'jmap', 'extcheck', 'pack200', 'jrunscript', 'jinfo', 'jcontrol', 'jmc', 'keytool', 'schemagen', 'jjs', 'jvisualvm', 'policytool', 'rmid', 'wsgen', 'javaws', 'javadoc

Update alternatives on these binaries.

java_bins_priority: 9

Alternatives priority on these binaries.

java_usr_folder: /usr/java

Location of installed Java home.

java_latest_folder: /usr/java/latest

Where to link the latest folder.

java_download_base_url: http://download.oracle.com/otn-pub/java/jdk

Download link of Java installers.

Dependencies

None.

Example Playbook

- hosts: all
  roles:
    - java-oracle-jdk10

License

MIT / BSD

Author Information

This role was created in 2016-2017 by Kálmán Szalai - KAMI

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.