]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fail when we cannot retrieve docker image 861/head
authorIvan Font <ivan.font@redhat.com>
Fri, 24 Jun 2016 00:09:12 +0000 (17:09 -0700)
committerIvan Font <ivan.font@redhat.com>
Fri, 24 Jun 2016 00:24:01 +0000 (17:24 -0700)
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 <ivan.font@redhat.com>
roles/ceph-common/tasks/docker/fetch_image.yml

index 2eb8a6d5e5c82b5915307472ebf35867abca163f..646a27d1291dc206115a5d2f7b85b0272c84cbf0 100644 (file)
@@ -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