jdk
JDK
A role that maintance oracle jdk and openjdk, include break jce limit
Requirements
This role requires Ansible 2.2 or higher and Current only support RHEL 6 and 7
Role Variables
vendor could be oracle or openjdk
jdk_vendor: 'oracle'
version should be 1.6 1.7 1.8
jdk_version: 1.7
due to US's export policy , there is a limit to the Java Cryptography Extension (JCE), so when you choose oracle jdk , you should replace the default jce to Unlimited Strength one
is_unlimited_jce: 'true'
jce_1_7_oracle_url: "http://somehttpshare/jce/UnlimitedJCEPolicyJDK7.zip"
jce_1_8_oracle_url: "http://somehttpshare/jce/jce_policy-8.zip"
Dependencies
None
Example Playbook
- hosts: servers
vars:
jdk_vendor: 'oracle'
jdk_version: 1.7
is_unlimited_jce: 'true'
jce_1_7_oracle_url: "http://somehttpshare/jce/UnlimitedJCEPolicyJDK7.zip"
roles:
- role: jagjag.jdk
License
BSD