summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2018-01-08 15:59:24 -0500
committerMichael Gugino <mgugino@redhat.com>2018-01-08 15:59:24 -0500
commitaae5250ed482423e7789c2dfb335d99475445493 (patch)
treedc200580127dd46577b419eb1fe8662382371215 /roles/openshift_facts
parent74294d8258a4812752434feaf4cd4b512a992af8 (diff)
downloadopenshift-aae5250ed482423e7789c2dfb335d99475445493.tar.gz
openshift-aae5250ed482423e7789c2dfb335d99475445493.tar.bz2
openshift-aae5250ed482423e7789c2dfb335d99475445493.tar.xz
openshift-aae5250ed482423e7789c2dfb335d99475445493.zip
ensure containerized bools are cast
Diffstat (limited to 'roles/openshift_facts')
-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'