]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
handler: fix bug
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 19 Dec 2019 10:29:41 +0000 (11:29 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 8 Jan 2020 22:11:42 +0000 (17:11 -0500)
commit30200802d97abf56c09ebd39f64184b2b4622c50
treeb73fc565b38f0f83f3ce18a944017681dd8161c2
parent3c31b19ab39f297635c84edb9e8a5de6c2da7707
handler: fix bug

411bd07d54fc3f585296b68f2fd04484328399b5 introduced a bug in handlers

using `handler_*_status` instead of `hostvars[item]['handler_*_status']`
causes handlers to be triggered in anycase even though
`handler_*_status` was set to `False` on a specific node.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1622688
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-handler/tasks/handler_mdss.yml
roles/ceph-handler/tasks/handler_mgrs.yml
roles/ceph-handler/tasks/handler_mons.yml
roles/ceph-handler/tasks/handler_nfss.yml
roles/ceph-handler/tasks/handler_osds.yml
roles/ceph-handler/tasks/handler_rbdmirrors.yml
roles/ceph-handler/tasks/handler_rgws.yml