remove extra )

(cherry picked from commit 062f0444a1)
pull/40917/head
Brian Coca 7 years ago committed by Brian Coca
parent a970ecba57
commit f1cd7a99be

@ -0,0 +1,2 @@
- bugfixes:
- reset connection is not run once https://github.com/ansible/ansible/issues/39364

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

Loading…
Cancel
Save