Install Java JRE or JDK with either one of Oracle or OpenJDK implementation, or both.
The role downloads redistributable packages from the internet to the hosts local filesystem before it may install those on any number of managed nodes in the local network.
Downloads are performed with the command module using curl. It is required to have curl installed on the local host you are running ansible-playbook on to manage nodes (your workstation).
This dependency is not managed within this role as it feels that there is no way to install packages with local_action based on ansible_os_family/ansible_distribution when conditionals. These facts have values suitable to the managed node but to the host running ansible-playbook on.
Please: Proove me wrong!
- Implement support for OpenJDK.
- (Allow local installation of cURL IF possible.)
Configure default Java implementation. Choices:
- oracle
- openjdk Default: oracle
Configure default Java distribution. Choices:
- jre
- jdk Default: jdk
Set "true" when Oracle Java implementation should get installed. Default: true
Default: 1.7.0_51-b13 (7u51-b13)
Default: 1
Default: 7
Default: 0
Default: 13
SHA256 sum for the downloaded Oracle Java JDK redistributable package. Default: 77367c3ef36e0930bf3089fb41824f4b8cf55dcc8f43cce0868f7687a474f55c
SHA256 sum for the downloaded Oracle Java JRE redistributable package. Default:
None.
Apache Version 2.0
Mark Kusch @mark.kusch silpion.de