Do not set the default jdk using alternatives.
This commit is contained in:
parent
223e975ded
commit
d40a337f9f
|
@ -2,4 +2,5 @@
|
|||
- name: Set the default OpenJDK
|
||||
alternatives: name={{ item }} path=/usr/lib/jvm/java-{{ openjdk_el_default_version }}-openjdk/bin/{{ item }}
|
||||
with_items: '{{ openjdk_commands }}'
|
||||
ignore_errors: True
|
||||
when: openjdk_install
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
with_nested:
|
||||
- '{{ openjdk_el_version }}'
|
||||
- '{{ openjdk_el_pkgs }}'
|
||||
notify: Set the default OpenJDK
|
||||
#notify: Set the default OpenJDK
|
||||
|
||||
- name: Set fact jdk_installed
|
||||
set_fact: jdk_installed=true
|
||||
|
|
Loading…
Reference in New Issue