Commit d09b6488 by Toshio Kuratomi

Merge pull request #9810 from mscherer/fix_7732

Do not use the variable name as a key for the result of the module
parents f998e657 9b8a5503
......@@ -52,7 +52,7 @@ class ActionModule(object):
result = dict(msg=args['msg'])
elif 'var' in args and not utils.LOOKUP_REGEX.search(args['var']):
results = template.template(self.basedir, args['var'], inject, convert_bare=True)
result[args['var']] = results
result['var'] = { args['var']: results }
# force flag to make debug output module always verbose
result['verbose_always'] = True
......
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