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:
commit
26cd465068
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue