Ignore errors from update-java-alternatives
This commit is contained in:
parent
717c1b2350
commit
fe041efcb6
|
@ -70,6 +70,7 @@
|
||||||
- name: Set the default OpenJDK
|
- name: Set the default OpenJDK
|
||||||
shell: update-java-alternatives -s java-1.{{ openjdk_default }}.0-openjdk-amd64
|
shell: update-java-alternatives -s java-1.{{ openjdk_default }}.0-openjdk-amd64
|
||||||
when: openjdk_installed is changed or openjdk_force_default
|
when: openjdk_installed is changed or openjdk_force_default
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Set the correct value for jdk_java_home when we are installing the distribution OpenJDK
|
- name: Set the correct value for jdk_java_home when we are installing the distribution OpenJDK
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|
Loading…
Reference in New Issue