]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Common: Fix handlers that are not properly triggered. 1412/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 3 Apr 2017 17:55:11 +0000 (19:55 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 6 Apr 2017 14:19:58 +0000 (16:19 +0200)
commit5bec62ba7c8ecbc91ede05297dadb639c530f597
treee5757ded639f89802252584e79d7e6d30d25f369
parent3c59ed58a5fcfb4b248427bc6f8b483a96fdd769
Common: Fix handlers that are not properly triggered.

Until now, only the first task were executed.
The idea here is to use `listen` statement to be able to notify multiple
handler and regroup all of them in `./handlers/main.yml` as notifying an
included handler task is not possible.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-common/handlers/main.yml
roles/ceph-common/handlers/restart-mds.yml [deleted file]
roles/ceph-common/handlers/restart-mon.yml [deleted file]
roles/ceph-common/handlers/restart-osd.yml [deleted file]
roles/ceph-common/handlers/restart-rgw.yml [deleted file]
roles/ceph-common/handlers/validate-mon.yml [deleted file]
roles/ceph-common/handlers/validate-osd.yml [deleted file]
roles/ceph-common/tasks/checks/check_socket.yml [deleted file]
roles/ceph-common/tasks/main.yml
roles/ceph-common/templates/restart_mon_daemon.sh.j2 [new file with mode: 0644]
roles/ceph-common/templates/restart_osd_daemon.sh.j2 [new file with mode: 0644]