ansible-roles/oracle-jdk/defaults/main.yml

18 lines
605 B
YAML
Raw Normal View History

---
# 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'
jdk_pkg_state: installed
oracle_jdk_packages:
- 'oracle-java{{ jdk_default }}-installer'
- 'oracle-java{{ jdk_default }}-set-default'
jdk_install_strong_encryption_policy: True
# If we want a different oracle jdk set the following variables in the local playbook:
jdk_use_tarfile: False
# jdk_java_home: /usr/lib/jvm/java-7-0-25
# jdk_tarfile: oracle-jdk-7.0.25.tar.gz