]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
handler: enhance socket detection 1943/head
authorSébastien Han <seb@redhat.com>
Fri, 22 Sep 2017 16:34:16 +0000 (18:34 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 25 Sep 2017 11:44:51 +0000 (13:44 +0200)
commit8b6456dc8aa72c36c24e67d4b873de205e1307f3
tree484cc53acdf7239c596fec953d94896a2e34611c
parent69aadbb8ceac02dd85e5d7277a22fc32d3ee99c0
handler: enhance socket detection

We have seen issues with leftover socker. So now, if a socket is found
we also check if it's accessed by a process. If so, we can run the
handler, if not we remove it and continue the playbook.

Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-defaults/handlers/main.yml
roles/ceph-defaults/tasks/check_socket.yml