mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 13:21:25 -07:00
fxed typo
This commit is contained in:
parent
786ee97c38
commit
ee815bc9a4
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class TaskExecutor:
|
||||||
mylookup = self._shared_loader_obj.lookup_loader.get(self._task.loop, loader=self._loader, templar=templar)
|
mylookup = self._shared_loader_obj.lookup_loader.get(self._task.loop, loader=self._loader, templar=templar)
|
||||||
|
|
||||||
# give lookup task 'context' for subdir (mostly needed for first_found)
|
# give lookup task 'context' for subdir (mostly needed for first_found)
|
||||||
for subdir in ['tempalte', 'var', 'file']: #TODO: move this to constants?
|
for subdir in ['template', 'var', 'file']: #TODO: move this to constants?
|
||||||
if subdir in self._task.name:
|
if subdir in self._task.name:
|
||||||
break
|
break
|
||||||
setattr(mylookup,'_subdir', subdir + 's')
|
setattr(mylookup,'_subdir', subdir + 's')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue