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 <seb@redhat.com>
pull/1287/head
Sébastien Han 2017-02-07 13:45:31 +01:00
parent 661a9d0cdf
commit dd548c6034
1 changed files with 0 additions and 3 deletions

View File

@ -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: