mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 22:11:44 -07:00
parent
d5ad3093d6
commit
51b595992b
11 changed files with 75 additions and 78 deletions
|
@ -36,6 +36,6 @@ def listify_lookup_plugin_terms(terms, templar, loader, fail_on_undefined=True,
|
|||
terms = templar.template(terms, fail_on_undefined=fail_on_undefined)
|
||||
|
||||
if isinstance(terms, string_types) or not isinstance(terms, Iterable):
|
||||
terms = [ terms ]
|
||||
terms = [terms]
|
||||
|
||||
return terms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue