]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
handler: fix osd containers handler
authorGuillaume Abrioux <gabrioux@redhat.com>
Sat, 13 Oct 2018 08:42:18 +0000 (10:42 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 15 Oct 2018 08:30:40 +0000 (10:30 +0200)
commit60bc1e38db0e797ad6553584927f86486ae09c19
tree0e6d7e313a1ac7c0b88c70e7087ecbe22521ce61
parent40b7747af7b3d139b3017b53f78ab52fd1082a92
handler: fix osd containers handler

`ceph_osd_container_stat` might not be set on other osd node.
We must ensure we are on the last node before trying to evaluate
`ceph_osd_container_stat`.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-handler/handlers/main.yml