2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
# Supported versions: 6,7,8
|
|
|
|
jdk_default: 7
|
|
|
|
# jdk_version is a dictionary because it's possible to install more than one version
|
|
|
|
jdk_version:
|
|
|
|
- '{{ jdk_default }}'
|
|
|
|
jdk_java_home: '/usr/lib/jvm/java-{{ jdk_default }}-oracle'
|
2016-06-22 17:03:23 +02:00
|
|
|
jdk_pkg_state: latest
|
2015-07-22 18:24:50 +02:00
|
|
|
oracle_jdk_packages:
|
|
|
|
- 'oracle-java{{ jdk_default }}-installer'
|
|
|
|
- 'oracle-java{{ jdk_default }}-set-default'
|
|
|
|
jdk_install_strong_encryption_policy: True
|
|
|
|
|
2015-05-28 11:32:57 +02:00
|
|
|
# If we want a different oracle jdk set the following variables in the local playbook:
|
2015-07-22 18:24:50 +02:00
|
|
|
jdk_use_tarfile: False
|
2015-05-28 11:32:57 +02:00
|
|
|
# jdk_java_home: /usr/lib/jvm/java-7-0-25
|
|
|
|
# jdk_tarfile: oracle-jdk-7.0.25.tar.gz
|