diff --git a/lib/ansible/plugins/strategy/linear.py b/lib/ansible/plugins/strategy/linear.py index 08b7a52c56..dc4ba12491 100644 --- a/lib/ansible/plugins/strategy/linear.py +++ b/lib/ansible/plugins/strategy/linear.py @@ -218,7 +218,8 @@ class StrategyModule(StrategyBase): # for the linear strategy, we run meta tasks just once and for # all hosts currently being iterated over rather than one host results.extend(self._execute_meta(task, play_context, iterator)) - run_once = True + if task.args.get('_raw_params', None) != 'noop': + run_once = True else: # handle step if needed, skip meta actions as they are used internally if self._step and choose_step: