parent
a970ecba57
commit
f1cd7a99be
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/meta_rc_runone.yml
Normal file
2
changelogs/fragments/meta_rc_runone.yml
Normal file
|
@ -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…
Reference in a new issue