mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Reset notified_by list per serialized batch
Fixes the case where a handler attempts to run for every batch after any batch has notified it, regardless of whether the current batch did.
This commit is contained in:
parent
a56e1f31fa
commit
b8d6dec5ad
1 changed files with 1 additions and 0 deletions
|
@ -444,6 +444,7 @@ class PlayBook(object):
|
|||
self.inventory.restrict_to(handler.notified_by)
|
||||
self._run_task(play, handler, True)
|
||||
self.inventory.lift_restriction()
|
||||
handler.notified_by = []
|
||||
|
||||
self.inventory.lift_also_restriction()
|
||||
|
||||
|
|
Loading…
Reference in a new issue