mirror of https://github.com/ceph/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 <seb@redhat.com>pull/1287/head
parent
661a9d0cdf
commit
dd548c6034
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue