peopledoc/ansible-role-java

Name: ansible-role-java

Owner: PeopleDoc

Description: Ansible Role - Java.

Created: 2018-04-25 12:34:42.0

Updated: 2018-05-24 15:43:47.0

Pushed: 2018-05-24 15:43:46.0

Homepage: https://galaxy.ansible.com/geerlingguy/java/

Size: 52

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Ansible Role: OpenJDK Java

Installs OpenJDK Java for RedHat/CentOS and Debian/Ubuntu linux servers.

Requirements

None.

Role Variables

Available variables are listed below, along with default values:

# The defaults provided by this role are specific to each distribution.
java_packages:
  - java-1.7.0-openjdk

Set the version/development kit of Java to install, along with any other necessary Java packages. By default, it will try to install OpenJDK 8, even if it is not feasible (it will fail, in that case).

CA certificates can be added to the java keystore with the following variables:

ca-certificates:
  certificates:
    - alias: cert
      path: /usr/local/share/ca-certificates/cert.crt
    - url: google.com
  password: changeit
Dependencies

None.

Dependencies for tests

The dependencies are ansible, molecule and docker-py Python packages.

Tests

Tests can be executed using:

lecule --debug test --driver-name docker
License

MIT / BSD

Author Information

This role was originally created in 2014 by Jeff Geerling, author of Ansible for DevOps.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.