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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Installs OpenJDK Java for RedHat/CentOS and Debian/Ubuntu linux servers.
None.
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
None.
The dependencies are ansible
, molecule
and docker-py
Python packages.
Tests can be executed using:
lecule --debug test --driver-name docker
MIT / BSD
This role was originally created in 2014 by Jeff Geerling, author of Ansible for DevOps.