mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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.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…
Reference in a new issue