summaryrefslogtreecommitdiffstats
path: root/roles/openshift_version/tasks
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-07-04 10:08:36 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-07-04 10:08:36 -0300
commit0071ab46bf9ae73bbb09c9fa0c9eb8a342a81ba1 (patch)
tree09a400b4e9ded984aa01801bcc7fc07f0df6da99 /roles/openshift_version/tasks
parent212faa41ce03f1719598e87fc1453ed8580655ca (diff)
downloadopenshift-0071ab46bf9ae73bbb09c9fa0c9eb8a342a81ba1.tar.gz
openshift-0071ab46bf9ae73bbb09c9fa0c9eb8a342a81ba1.tar.bz2
openshift-0071ab46bf9ae73bbb09c9fa0c9eb8a342a81ba1.tar.xz
openshift-0071ab46bf9ae73bbb09c9fa0c9eb8a342a81ba1.zip
Fix unsafe bool usage.
Diffstat (limited to 'roles/openshift_version/tasks')
-rw-r--r--roles/openshift_version/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_version/tasks/main.yml b/roles/openshift_version/tasks/main.yml
index ac3efe7e9..8cd66cbe9 100644
--- a/roles/openshift_version/tasks/main.yml
+++ b/roles/openshift_version/tasks/main.yml
@@ -34,7 +34,7 @@
- name: Use openshift.common.version fact as version to configure if already installed
set_fact:
openshift_version: "{{ openshift.common.version }}"
- when: openshift.common.version is defined and openshift_version is not defined and openshift_protect_installed_version
+ when: openshift.common.version is defined and openshift_version is not defined and openshift_protect_installed_version | bool
- debug: var=is_containerized
- debug: var=openshift_version