From: Sébastien Han Date: Tue, 7 Feb 2017 12:45:31 +0000 (+0100) Subject: docker: osd, do not skip on failure X-Git-Tag: v2.2.0rc1~21^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dd548c6034d191c00e5bc55b952ae93a98d87923;p=ceph-ansible.git docker: osd, do not skip on failure If the systemd unit file can not be generated we should fail, same for systemd enable and reload. Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-osd/tasks/docker/start_docker_osd.yml b/roles/ceph-osd/tasks/docker/start_docker_osd.yml index e1ea76a84..a694523f2 100644 --- a/roles/ceph-osd/tasks/docker/start_docker_osd.yml +++ b/roles/ceph-osd/tasks/docker/start_docker_osd.yml @@ -75,18 +75,15 @@ owner: "root" group: "root" mode: "0644" - failed_when: false - name: enable systemd unit file for osd instance shell: systemctl enable ceph-osd@{{ item | basename }}.service - failed_when: false changed_when: false with_items: "{{ ceph_osd_docker_devices }}" - name: reload systemd unit files shell: systemctl daemon-reload changed_when: false - failed_when: false - name: systemd start osd container service: