mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
reset_connection is not run_once
This commit is contained in:
@@ -263,7 +263,7 @@ class StrategyModule(StrategyBase):
|
|||||||
# for the linear strategy, we run meta tasks just once and for
|
# for the linear strategy, we run meta tasks just once and for
|
||||||
# all hosts currently being iterated over rather than one host
|
# all hosts currently being iterated over rather than one host
|
||||||
results.extend(self._execute_meta(task, play_context, iterator, 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
|
run_once = True
|
||||||
else:
|
else:
|
||||||
# handle step if needed, skip meta actions as they are used internally
|
# handle step if needed, skip meta actions as they are used internally
|
||||||
|
|||||||
Reference in New Issue
Block a user