picturemaxx.ansible-java
Ansible Role: Java
Installs 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. Some other options include are included in the distribution-specific files in this role's 'defaults' folder.
java_home: ""
If set, the role will set the global environment variable JAVA_HOME
to this value.
Dependencies
None.
Example Playbook (using default package, OpenJDK 8)
- hosts: servers
roles:
- ansible-java
License
MIT / BSD
Author Information
This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.
Tobias Kramheller @tkramheller
Install
ansible-galaxy install picturemaxx.ansible-java
License
Unknown
Downloads
44
Owner
Acquire, manage and distribute digital assets more efficiently!