From: Ivan Font Date: Fri, 24 Jun 2016 00:09:12 +0000 (-0700) Subject: Fail when we cannot retrieve docker image X-Git-Tag: v1.0.6~81^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F861%2Fhead;p=ceph-ansible.git 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 --- 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