mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00: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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user