mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Use regular strings to allow tests to work
This commit is contained in:
@@ -174,7 +174,7 @@ def _varFind(basedir, text, vars, lookup_fatal, depth, expand_lists):
|
||||
try:
|
||||
replacement = instance.run(args, inject=vars)
|
||||
if expand_lists:
|
||||
replacement = u",".join([unicode(x) for x in replacement])
|
||||
replacement = ",".join([str(x) for x in replacement])
|
||||
except:
|
||||
if not lookup_fatal:
|
||||
replacement = None
|
||||
|
||||
Reference in New Issue
Block a user