Do not set run_once for meta noop tasks

Fixes #17581
This commit is contained in:
James Cammarata 2016-09-19 14:27:02 -05:00
parent e3451be457
commit 1d2e1a5648

View file

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