mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 19:32:47 +00:00
Merge pull request #2731 from stoned/flush_handlers-cleanup
handlers must be run once
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user