Giter Club home page Giter Club logo

ansible-role-oraclejdk's Introduction

Ansible role for OracleJDK installation

Installs OracleJDK from WebUpd8 team's PPA (http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html).

Role Variables

  • oraclejdk_package

    Name of package to install (default is oracle-java8-installer).

  • oraclejdk_set_as_default

    Setting JDK as default JDK. When this parameter is set to true then alternatvies will be updated and environment variables like JAVA_HOME will be changed. In reality it just installs appropriate oracle-javaX-set-default package. (Default is true).

Actions role

  • adds webupd8team/java PPA
  • updates apt's cache
  • accepts Oracle's license
  • installs package(s)

How to install

ansible-galaxy install php-coder.oraclejdk

For more installation's options/variants read the documentation: http://docs.ansible.com/galaxy.html

Example Playbook

Example of usage with default parameters:

- hosts: all
  roles:
     - php-coder.oraclejdk

Example of usage to install OracleJDK 7:

- hosts: all
  roles:
     - { role: php-coder.oraclejdk, oraclejdk_package: 'oracle-java7-installer' }

License

GPLv2

Author Information

Slava Semushin ([email protected])

ansible-role-oraclejdk's People

Contributors

php-coder avatar

Watchers

 avatar

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.