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

Handle when the lookup-plugin is used in jinja-style

This fixes #14190.
This commit is contained in:
Dag Wieers 2016-02-03 01:52:17 +01:00
parent 5cd3f71792
commit dee5dba82a

View file

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