handlers must be run once
so remove all occurences of each host from the handlers notified by lists
This commit is contained in:
parent
7fabaec55f
commit
747c7f0dff
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ class PlayBook(object):
|
||||||
self._run_task(play, handler, True)
|
self._run_task(play, handler, True)
|
||||||
self.inventory.lift_restriction()
|
self.inventory.lift_restriction()
|
||||||
for host in handler.notified_by:
|
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
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue