summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-03-23 15:09:51 -0400
committerScott Dodson <sdodson@redhat.com>2016-04-05 12:45:53 -0400
commit18b52f2c4ef11b34b248b48ce5ca59d7c5a4f426 (patch)
treeb67dddfa41b36636f6a628894b97ccbb719aabd2 /roles/openshift_facts/tasks
parent9db67b8095b206efefeb2c3def07e1e4394733d0 (diff)
downloadopenshift-18b52f2c4ef11b34b248b48ce5ca59d7c5a4f426.tar.gz
openshift-18b52f2c4ef11b34b248b48ce5ca59d7c5a4f426.tar.bz2
openshift-18b52f2c4ef11b34b248b48ce5ca59d7c5a4f426.tar.xz
openshift-18b52f2c4ef11b34b248b48ce5ca59d7c5a4f426.zip
Downgrade to docker 1.8.2 if installing OSE < 3.2
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"