Cache dynamically included blocks for later lookup via uuid

Fixes #18357
pull/18571/head
James Cammarata 8 years ago
parent 26ec2ecfce
commit 7e2305f953

@ -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,

Loading…
Cancel
Save