handlers must be run once

so remove all occurences of each host from the handlers notified by
lists
pull/2731/head
Stoned Elipot 12 years ago
parent 7fabaec55f
commit 747c7f0dff

@ -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

Loading…
Cancel
Save