Additional change to redhat check
This commit is contained in:
parent
cd2962ce8a
commit
92244a7a71
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
- name: Get the installed java path
|
- name: Get the installed java path
|
||||||
shell: "update-alternatives --display java | grep '^/' | awk '{print $1}' | grep 1.8.0"
|
shell: "update-alternatives --display java | grep '^/' | awk '{print $1}' | grep 1.8.0"
|
||||||
register: java_full_path
|
register: java_full_path
|
||||||
|
failed_when: False
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
- name: correct java version selected
|
- name: correct java version selected
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue