Cache dynamically included blocks for later lookup via uuid

Fixes #18357

(cherry picked from commit 7e2305f953)
This commit is contained in:
James Cammarata 2016-11-21 13:02:24 -06:00
parent 528426ce0c
commit 529adb574a

View file

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