mirror of https://github.com/ceph/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 <ivan.font@redhat.com>pull/861/head
parent
08af355161
commit
a61b8ec071
|
@ -3,7 +3,6 @@
|
||||||
- name: pull ceph daemon image
|
- name: pull ceph daemon image
|
||||||
command: "docker pull {{ ceph_docker_username }}/{{ ceph_docker_imagename }}"
|
command: "docker pull {{ ceph_docker_username }}/{{ ceph_docker_imagename }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
|
||||||
when: ceph_docker_dev_image is undefined or not ceph_docker_dev_image
|
when: ceph_docker_dev_image is undefined or not ceph_docker_dev_image
|
||||||
|
|
||||||
# Dev case - export local dev image and send it across
|
# Dev case - export local dev image and send it across
|
||||||
|
|
Loading…
Reference in New Issue