mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
Allow non-string types in with_items variables
This commit is contained in:
parent
886a17853f
commit
695b4bcb46
2 changed files with 40 additions and 1 deletions
|
@ -371,7 +371,7 @@ def varReplaceWithItems(basedir, varname, vars):
|
|||
d[k] = varReplaceWithItems(basedir, v, vars)
|
||||
return d
|
||||
else:
|
||||
raise Exception("invalid with_items type")
|
||||
return varname
|
||||
|
||||
|
||||
def template(basedir, text, vars):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue