diff --git a/lib/ansible/plugins/strategy/linear.py b/lib/ansible/plugins/strategy/linear.py index 4de191a5ad..a8e33d2b03 100644 --- a/lib/ansible/plugins/strategy/linear.py +++ b/lib/ansible/plugins/strategy/linear.py @@ -263,7 +263,7 @@ 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, host)) - if task.args.get('_raw_params', None) != 'noop': + if task.args.get('_raw_params', None) not in ('noop', 'reset_connection')): run_once = True else: # handle step if needed, skip meta actions as they are used internally