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

Merge pull request #14281 from dagwieers/fix-first-found-list

Handle when the lookup-plugin is used in jinja-style
This commit is contained in:
Brian Coca 2016-02-03 11:13:57 -05:00
commit 26cd465068

View file

@ -171,7 +171,7 @@ class LookupModule(LookupBase):
else: else:
total_search.append(term) total_search.append(term)
else: else:
total_search = terms total_search = self._flatten(terms)
roledir = variables.get('roledir') roledir = variables.get('roledir')
for fn in total_search: for fn in total_search: