mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Use convert_bare instead of string formatting for raw vars in debug action plugin
This commit is contained in:
parent
707474a43a
commit
4c47c2273a
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class ActionModule(object):
|
|||
else:
|
||||
result = dict(msg=args['msg'])
|
||||
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
|
||||
|
||||
# force flag to make debug output module always verbose
|
||||
|
|
Loading…
Reference in a new issue