1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-24 18:28:47 +00:00

fxed typo

This commit is contained in:
Brian Coca 2016-07-14 09:05:01 -04:00
parent 786ee97c38
commit ee815bc9a4

View file

@ -193,7 +193,7 @@ class TaskExecutor:
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)
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:
break
setattr(mylookup,'_subdir', subdir + 's')