mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: trigger osd container restart on script change
The script ceph-osd-run.sh holds the config options to start the container, if one of these options are modified we must restart the container. This was not the case before becauase the 'notify' flag wasn't present. Closing: https://bugzilla.redhat.com/show_bug.cgi?id=1596061 Signed-off-by: Sébastien Han <seb@redhat.com>pull/2832/head
parent
f623997271
commit
abdb53e16a
|
@ -24,6 +24,8 @@
|
|||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0744"
|
||||
notify:
|
||||
- restart ceph osds
|
||||
|
||||
- name: generate systemd unit file
|
||||
become: true
|
||||
|
@ -42,5 +44,4 @@
|
|||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
changed_when: false
|
||||
with_items: "{{ devices }}"
|
||||
|
|
Loading…
Reference in New Issue