mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
fix multiple handler notifications (#19655)
Fixes #19647 Adds integration test to catch multiple handler notifications
This commit is contained in:
@@ -435,7 +435,7 @@ class StrategyBase:
|
||||
target_handler = search_handler_blocks_by_name(handler_name, iterator._play.handlers)
|
||||
if target_handler is not None:
|
||||
found = True
|
||||
if original_host._uuid not in self._notified_handlers[target_handler._uuid]:
|
||||
if original_host not in self._notified_handlers[target_handler._uuid]:
|
||||
self._notified_handlers[target_handler._uuid].append(original_host)
|
||||
# FIXME: should this be a callback?
|
||||
display.vv("NOTIFIED HANDLER %s" % (handler_name,))
|
||||
|
||||
Reference in New Issue
Block a user