Commit 4c47c227 by James Cammarata

Use convert_bare instead of string formatting for raw vars in debug action plugin

parent 707474a4
...@@ -51,7 +51,7 @@ class ActionModule(object): ...@@ -51,7 +51,7 @@ class ActionModule(object):
else: else:
result = dict(msg=args['msg']) result = dict(msg=args['msg'])
elif 'var' in args and not utils.LOOKUP_REGEX.search(args['var']): elif 'var' in args and not utils.LOOKUP_REGEX.search(args['var']):
results = template.template(self.basedir, "{{ %s }}" % args['var'], inject) results = template.template(self.basedir, args['var'], inject, convert_bare=True)
result[args['var']] = results result[args['var']] = results
# force flag to make debug output module always verbose # force flag to make debug output module always verbose
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment