azl2 also needs this symlink

This commit is contained in:
Lee Goolsbee
2020-08-27 12:27:41 -05:00
parent 529df0cafd
commit e0b76696c4

View File

@@ -18,6 +18,13 @@
name: "adoptopenjdk-{{ java_major_version }}-hotspot" name: "adoptopenjdk-{{ java_major_version }}-hotspot"
state: present state: present
- name: Ensure common JDK symlink exists
alternatives:
link: "/usr/lib/jvm/java"
name: "java_sdk"
path: "/usr/lib/jvm/adoptopenjdk-{{ java_major_version }}-hotspot"
priority: 99
when: atl_use_system_jdk when: atl_use_system_jdk
tags: tags:
- runtime_pkg - runtime_pkg