A role for install and configuring Java.
java_profile_d
: Defaults to "/etc/profile.d".
java_home
: Defaults to "/usr/lib/jvm/jre"
java_package
: Defaults to "java-1.8.0-openjdk-devel"
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: mirsg.java }
BSD
This role was created by the Medical Imaging Research Software Group at UCL.