1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

reset_connection is not run_once

This commit is contained in:
Brian Coca 2018-05-21 12:10:12 -04:00 committed by Brian Coca
parent b845db0169
commit ee95b71f7b

View file

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