mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07: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:
parent
e9038d8dc1
commit
08ef0aee25
2 changed files with 42 additions and 42 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue