mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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:
|
try:
|
||||||
replacement = instance.run(args, inject=vars)
|
replacement = instance.run(args, inject=vars)
|
||||||
if expand_lists:
|
if expand_lists:
|
||||||
replacement = u",".join([unicode(x) for x in replacement])
|
replacement = ",".join([str(x) for x in replacement])
|
||||||
except:
|
except:
|
||||||
if not lookup_fatal:
|
if not lookup_fatal:
|
||||||
replacement = None
|
replacement = None
|
||||||
|
|||||||
Reference in New Issue
Block a user