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:openjdk
but 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/ansible-java
License
apache-2.0
Downloads
59047
Owner
Geospatial software engineering for good