]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Restart Ceph service after a configuration change 106/head
authorSébastien Han <sebastien.han@enovance.com>
Wed, 20 Aug 2014 12:04:34 +0000 (14:04 +0200)
committerSébastien Han <sebastien.han@enovance.com>
Wed, 20 Aug 2014 12:04:34 +0000 (14:04 +0200)
commit0aa9dea281c731d4d07249fc9c98ae48a0565936
treef9972864852fc2af93da180dbd8a4094854550bd
parent06585ced931673d94ffc067f3f2623427dfb50e8
Restart Ceph service after a configuration change

After a change is made on the configuration file we must restart the
Ceph services. I also added a check that verifies if a socker exists
because during the first play there are no services running. We check if
a socket exists, if not we don't try to restart the services, if it
exists we can restart them.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
roles/ceph-common/handlers/main.yml
roles/ceph-common/tasks/Debian.yml
roles/ceph-common/tasks/RedHat.yml