Additional change to redhat check

This commit is contained in:
Shri Bodas 2018-01-26 18:01:59 -08:00 committed by Michael Russell
parent cd2962ce8a
commit 92244a7a71
No known key found for this signature in database
GPG key ID: A90C1696496085FE

View file

@ -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