summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/tasks
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-04-01 10:56:33 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2016-04-01 14:20:23 -0400
commitcca99e30e92168b379a435ff70b66cdd768d8a83 (patch)
treeca8c525b5c8e06bfa33cb0c93c559d633bead30d /roles/openshift_facts/tasks
parentff86a5d3e4caa6eaba2d77833278998105bd9fd0 (diff)
downloadopenshift-cca99e30e92168b379a435ff70b66cdd768d8a83.tar.gz
openshift-cca99e30e92168b379a435ff70b66cdd768d8a83.tar.bz2
openshift-cca99e30e92168b379a435ff70b66cdd768d8a83.tar.xz
openshift-cca99e30e92168b379a435ff70b66cdd768d8a83.zip
Bug 1323123 - upgrade failed to containerized OSE on RHEL Host without ose3.2 repo
Diffstat (limited to 'roles/openshift_facts/tasks')
-rw-r--r--roles/openshift_facts/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml
index a2eb27fbb..36def57c8 100644
--- a/roles/openshift_facts/tasks/main.yml
+++ b/roles/openshift_facts/tasks/main.yml
@@ -15,7 +15,7 @@
- set_fact:
l_is_atomic: "{{ ostree_output.rc == 0 }}"
- set_fact:
- l_is_containerized: "{{ l_is_atomic or containerized | default(false) | bool }}"
+ l_is_containerized: "{{ (l_is_atomic | bool) or (containerized | default(false) | bool) }}"
- name: Ensure PyYaml is installed
action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"