mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
listify lookup plugin terms when they're specified as "{{ lookup(terms) }}"
Before this, they were not listified there but they were listified when specified like this: with_lookup: terms
This commit is contained in:
parent
e32d887609
commit
d35b956900
23 changed files with 16 additions and 50 deletions
|
@ -34,7 +34,6 @@ class LookupModule(LookupBase):
|
|||
"subelements lookup expects a list of two or three items, "
|
||||
+ msg)
|
||||
|
||||
terms = listify_lookup_plugin_terms(terms, templar=self._templar, loader=self._loader)
|
||||
terms[0] = listify_lookup_plugin_terms(terms[0], templar=self._templar, loader=self._loader)
|
||||
|
||||
# check lookup terms - check number of terms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue