DCD-1020: We need a JRE symlink too.

This commit is contained in:
Steve Smith
2020-08-21 13:56:13 +10:00
parent 43996fffcd
commit d22c0222ed
2 changed files with 13 additions and 3 deletions

View File

@@ -35,9 +35,12 @@ atl_product_installation_current: "{{ atl_product_installation_base }}/current"
atl_installer_temp: "{{ atl_installation_base }}/tmp"
# NOTE: If using the non-installer java we expect to have the full JDK
# installed and linked to `/usr/lib/jvm/java`, usually via `alternatives`.
# installed and linked to `/usr/lib/jvm/java` and # `/usr/lib/jvm/jre`.
# See product_common/task/ubuntu.yml for an example of apropriate
# linking using `alternatives`.
atl_java_home: "{{ '/usr/lib/jvm/java' if atl_use_system_jdk else (atl_product_installation_current + '/jre') }}"
atl_java_binary: "{{ atl_java_home }}/bin/java"
atl_jre_home: "{{ '/usr/lib/jvm/jre' if atl_use_system_jdk else atl_java_home }}"
atl_java_binary: "{{ atl_jre_home }}/bin/java"
atl_product_logs_default: &logs_default
- path: "{{ atl_product_installation_current }}/logs/*"