From cd2962ce8a4bf9e5792a227afcc4741cf56c5fe0 Mon Sep 17 00:00:00 2001 From: Shri Bodas Date: Fri, 26 Jan 2018 14:19:38 -0800 Subject: [PATCH] fix for Missed Redhat check for installing java --- tasks/java.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/java.yml b/tasks/java.yml index 969747c..c37b027 100644 --- a/tasks/java.yml +++ b/tasks/java.yml @@ -13,6 +13,7 @@ - name: Get the installed java path shell: "update-alternatives --display java | grep '^/' | awk '{print $1}' | grep 1.8.0" register: java_full_path + when: ansible_os_family == 'RedHat' - name: correct java version selected alternatives: