mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2731 from stoned/flush_handlers-cleanup
handlers must be run once
This commit is contained in:
commit
b08181e9b4
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