diff --git a/lib/ansible/plugins/strategy/__init__.py b/lib/ansible/plugins/strategy/__init__.py index 7ff1491d75b..31577934916 100644 --- a/lib/ansible/plugins/strategy/__init__.py +++ b/lib/ansible/plugins/strategy/__init__.py @@ -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,