azavea.java
ansible-java
An Ansible role for installing Java.
Role Variables
java_version- Java JDK and JRE versionjava_major_version- Major version of Java to install (default:8)java_flavor- Flavor of Java to install (default:openjdkbut can also beoracle)java_oracle_accept_license_agreement- Flag to accept the Oracle license agreement (default:False)
Testing
Tests are driven by Molecule. To run the test suite, install Molecule and run molecule test from the folder containing molecule.yml. To add additional tests, add a testinfra Python script in the tests directory, or add a function to test_java.py. Information about available Testinfra modules is available here.
Usage
$ pip install -r requirements.txt
$ molecule test
Install
ansible-galaxy install azavea.javaLicense
apache-2.0
Downloads
59.3k
Owner
Geospatial software engineering for good
