mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
removed bad iteration from execute meta (#19958)
* removed bad iteration from execute meta most of the tasks should not be iterated over, others needed to include unreachable hosts fixes #19673 * corrected host var
This commit is contained in:
@@ -218,7 +218,7 @@ class StrategyModule(StrategyBase):
|
||||
if task.action == 'meta':
|
||||
# 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))
|
||||
results.extend(self._execute_meta(task, play_context, iterator, host))
|
||||
if task.args.get('_raw_params', None) != 'noop':
|
||||
run_once = True
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user