mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Only insert notified host if it's not already notified for certain cases
Fixes #18178
This commit is contained in:
parent
21ab4343e3
commit
a567c5de65
1 changed files with 3 additions and 2 deletions
|
@ -454,9 +454,10 @@ class StrategyBase:
|
|||
for target_handler_uuid in self._notified_handlers:
|
||||
target_handler = search_handler_blocks_by_uuid(target_handler_uuid, iterator._play.handlers)
|
||||
if target_handler and parent_handler_match(target_handler, handler_name):
|
||||
self._notified_handlers[target_handler._uuid].append(original_host)
|
||||
display.vv("NOTIFIED HANDLER %s" % (target_handler.get_name(),))
|
||||
found = True
|
||||
if original_host not in self._notified_handlers[target_handler._uuid]:
|
||||
self._notified_handlers[target_handler._uuid].append(original_host)
|
||||
display.vv("NOTIFIED HANDLER %s" % (target_handler.get_name(),))
|
||||
|
||||
if handler_name in self._listening_handlers:
|
||||
for listening_handler_uuid in self._listening_handlers[handler_name]:
|
||||
|
|
Loading…
Reference in a new issue