From 4bec37c10f835902a42b62493c5df0de97db73f8 Mon Sep 17 00:00:00 2001 From: Brenton Leanhardt Date: Wed, 8 Jun 2016 09:37:19 -0400 Subject: Bug 1338726 - never abort install if the latest version of docker is already installed --- roles/docker/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index f002dbc01..cafbdee4c 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -20,7 +20,7 @@ register: avail_docker_version failed_when: false changed_when: false - when: not openshift.common.is_atomic | bool + when: not curr_docker_version.stdout | default('0.0', True) | version_compare('1.10', '>=') and not openshift.common.is_atomic | bool - name: Verify Docker >= 1.10 is available fail: -- cgit v1.2.3