mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
brought back terms testing as with_ is not only way to call and we cannot guarantee terms is a list otherwise.
This commit is contained in:
@@ -27,6 +27,9 @@ class LookupModule(LookupBase):
|
||||
|
||||
def run(self, terms, variables=None, **kwargs):
|
||||
|
||||
if not isinstance(terms, list):
|
||||
terms = [ terms ]
|
||||
|
||||
ret = []
|
||||
for term in terms:
|
||||
basedir_path = self._loader.path_dwim(term)
|
||||
|
||||
Reference in New Issue
Block a user