From a61b8ec0717550f2d5e1096bb5fb0fd933eeeef3 Mon Sep 17 00:00:00 2001 From: Ivan Font Date: Thu, 23 Jun 2016 17:09:12 -0700 Subject: [PATCH] Fail when we cannot retrieve docker image If the docker image cannot be retrieved we will fail this task silently and the playbook ultimately succeeds without a successful deployment. This change makes it so we fail the playbook immediately. Signed-off-by: Ivan Font --- roles/ceph-common/tasks/docker/fetch_image.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/ceph-common/tasks/docker/fetch_image.yml b/roles/ceph-common/tasks/docker/fetch_image.yml index 2eb8a6d5e..646a27d12 100644 --- a/roles/ceph-common/tasks/docker/fetch_image.yml +++ b/roles/ceph-common/tasks/docker/fetch_image.yml @@ -3,7 +3,6 @@ - name: pull ceph daemon image command: "docker pull {{ ceph_docker_username }}/{{ ceph_docker_imagename }}" changed_when: false - failed_when: false when: ceph_docker_dev_image is undefined or not ceph_docker_dev_image # Dev case - export local dev image and send it across