Do not set run_once for meta noop tasks

Fixes #17581
pull/17651/head
James Cammarata 8 years ago
parent e3451be457
commit 1d2e1a5648

@ -218,6 +218,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))
if task.args.get('_raw_params', None) != 'noop':
run_once = True
else:
# handle step if needed, skip meta actions as they are used internally

Loading…
Cancel
Save