Skip to content

ansible role for oracle and open jdk installation . also support jce patch

Notifications You must be signed in to change notification settings

jagjag/ansible-role-jdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Author Information

https://github.com/jagjag

About

ansible role for oracle and open jdk installation . also support jce patch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages