1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Cache dynamically included blocks for later lookup via uuid

Fixes #18357
This commit is contained in:
James Cammarata 2016-11-21 13:02:24 -06:00
parent 26ec2ecfce
commit 7e2305f953

View file

@ -783,6 +783,7 @@ class StrategyBase:
# of hosts which included the file to the notified_handlers dict # of hosts which included the file to the notified_handlers dict
for block in new_blocks: for block in new_blocks:
iterator._play.handlers.append(block) iterator._play.handlers.append(block)
iterator.cache_block_tasks(block)
for task in block.block: for task in block.block:
result = self._do_handler_run( result = self._do_handler_run(
handler=task, handler=task,