Code Monkey home page Code Monkey logo

java's Introduction

java

Master: Build Status Develop: Build Status

This roles installs OpenJDK Java, any version can be installed but 7 is used by default (which may not be available on all O/S releases).

NOTE: Only x86_64 is supported.

Installation and Dependencies

This role has no dependencies and has been tested with Ansible 2.2+.

To install run ansible-galaxy install sansible.java or add this to your roles.yml

- name: sansible.java
  version: v2.1

and run ansible-galaxy install -p ./roles -r roles.yml

Tags

This role uses one tag: build

  • build - Installs OpenJDK Java.

Arguments

Argument Default Description

sansible_java_apt_key_id | EB9B1D8886F44E2A | Fingerprint of PGP used to verify repo sansible_java_apt_keyserver | http://eu.pool.sks-keyservers.net | Keyserver to grab PGP key from sansible_java_apt_repo | See defaults | The repo to grab packages from sansible_java_set_as_default | yes | Set the installed version as default sansible_java_version | 8 | The Java version to be installed

Example Playbook

To install OpenJDK Java 7:

- name: Install Java
  hosts: sandbox

  roles:
    - name: java

To install OpenJDK Java 8:

- name: Install Java
  hosts: sandbox

  roles:
    - name: java
      java:
        version: 8

java's People

Contributors

wojtek-oledzki avatar quater avatar dennisconrad avatar rsgoodall avatar lobsterdore avatar tuxpower avatar samhvw8 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.