summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/defaults
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_facts/defaults')
-rw-r--r--roles/openshift_facts/defaults/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_facts/defaults/main.yml b/roles/openshift_facts/defaults/main.yml
index 980350d14..a223ffba6 100644
--- a/roles/openshift_facts/defaults/main.yml
+++ b/roles/openshift_facts/defaults/main.yml
@@ -1,5 +1,5 @@
---
-openshift_client_binary: "{{ openshift_is_containerized | ternary('/usr/local/bin/oc', 'oc') }}"
+openshift_client_binary: "{{ (openshift_is_containerized | bool) | ternary('/usr/local/bin/oc', 'oc') }}"
openshift_cli_image_dict:
origin: 'openshift/origin'