From ba067abab8d40441510a8b1bc9500cb43304a136 Mon Sep 17 00:00:00 2001 From: Malpractis <31232305+Malpractis@users.noreply.github.com> Date: Thu, 23 Jan 2020 08:50:41 +1100 Subject: [PATCH] fix failed docker-py check fix failed docker-py check when docker-py not installed --- tasks/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/docker.yml b/tasks/docker.yml index 8ac88ecb..4db52a30 100644 --- a/tasks/docker.yml +++ b/tasks/docker.yml @@ -8,7 +8,7 @@ - name: 'Check if docker-py is installed' shell: pip3 show docker-py - ignore_errors: true + failed_when: docker_py_check.rc != 1 and docker_py_check.rc != 0 register: docker_py_check - name: 'Remove docker-py if installed'