]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-iscsi: notify rbd target services
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 9 Oct 2019 20:50:09 +0000 (16:50 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 16 Oct 2019 14:25:40 +0000 (16:25 +0200)
commitbc701860d541b9f752d0f8cfcbed43979aafb70e
tree40510f97d01dd87d652108951a723db6b3456d08
parent68a3dac7cd492cabc1626873018a40a50efe3ada
ceph-iscsi: notify rbd target services

When the iscsi gateway or the ceph configuration file change then we
need to notify the rbd target api/gw services to be restarted.
This patch also merges the rbd-target-api and rbd-target-gw handler
into a single file and listen.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-config/tasks/main.yml
roles/ceph-handler/handlers/main.yml
roles/ceph-handler/tasks/handler_rbd_target_api.yml [deleted file]
roles/ceph-handler/tasks/handler_rbd_target_api_gw.yml [new file with mode: 0644]
roles/ceph-handler/tasks/handler_rbd_target_gw.yml [deleted file]
roles/ceph-iscsi-gw/tasks/common.yml
roles/ceph-iscsi-gw/tasks/systemd.yml