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

Fix use of add_tqm_variables

This commit is contained in:
James Cammarata 2015-11-05 16:30:03 -05:00
parent efbc6054a4
commit f10022dbd2

View file

@ -285,7 +285,7 @@ class StrategyBase:
if task.delegate_to is not None: if task.delegate_to is not None:
task_vars = self._variable_manager.get_vars(loader=self._loader, play=iterator._play, host=host, task=task) task_vars = self._variable_manager.get_vars(loader=self._loader, play=iterator._play, host=host, task=task)
add_tqm_variables(task_vars, play=iterator._play) self.add_tqm_variables(task_vars, play=iterator._play)
if item is not None: if item is not None:
task_vars['item'] = item task_vars['item'] = item
templar = Templar(loader=self._loader, variables=task_vars) templar = Templar(loader=self._loader, variables=task_vars)