ITPLT-2313 allow passing atl_jdk_tgz the url of the adoptium tgz else use installer

This commit is contained in:
bmeehan
2022-11-16 16:18:58 +11:00
parent 2291e1a8ca
commit e3d1bf9647

View File

@@ -42,6 +42,13 @@
link: "/usr/lib/jvm/java"
name: "java_sdk"
path: "{{ atl_tgz_unpacked.files[0].path }}"
priority: 98
- name: Ensure common JAVA symlink exists
community.general.alternatives:
link: "/bin/java"
name: "java"
path: "/usr/lib/jvm/java/bin/java"
priority: 99
when: atl_jdk_tgz_url