Commit 747c7f0d by Stoned Elipot

handlers must be run once

so remove all occurences of each host from the handlers notified by
lists
parent 7fabaec5
......@@ -509,7 +509,7 @@ class PlayBook(object):
self._run_task(play, handler, True)
self.inventory.lift_restriction()
for host in handler.notified_by:
handler.notified_by.remove(host)
handler.notified_by[:] = [h for h in handler.notified_by if h != host]
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment