mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Merge pull request #1186 from dhozac/varreplacewi-nonstr
Allow non-string types in with_items variables
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user