When a systemd unit file is changed we should trigger handlers to
restart the services.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
owner: "root"
group: "root"
mode: "0644"
+ notify:
+ - restart ceph mdss
- name: systemd start mds container
systemd:
owner: "root"
group: "root"
mode: "0644"
+ notify:
+ - restart ceph mgrs
- name: systemd start mgr container
systemd:
owner: "root"
group: "root"
mode: "0644"
+ notify:
+ - restart ceph mons
- name: systemd start mon container
systemd:
mode: "0644"
when:
- containerized_deployment
+ notify:
+ - restart ceph nfss
- name: systemd start nfs container
systemd:
owner: "root"
group: "root"
mode: "0644"
+ notify:
+ - restart ceph osds
- name: systemd start osd container
systemd:
owner: "root"
group: "root"
mode: "0644"
+ notify:
+ - restart ceph rbdmirrors
- name: systemd start rbd mirror container
systemd:
owner: "root"
group: "root"
mode: "0644"
+ notify:
+ - restart ceph rgws
# For backward compatibility
- name: disable old systemd unit ('ceph-rgw@'|'ceph-radosgw@radosgw.'|'ceph-radosgw@') if present