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
Sébastien Han 2018-06-28 09:54:24 +02:00
parent f623997271
commit abdb53e16a
1 changed files with 2 additions and 1 deletions

View File

@ -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 }}"