Preliminary ability to use Jinja2 {{ }} to replace ${foo.bar} in playbooks. Can't use both at the same time per line.

This commit is contained in:
Michael DeHaan 2013-04-03 01:03:30 -04:00
parent aa4ad80bda
commit cdaa2085ee
5 changed files with 36 additions and 4 deletions

View file

@ -39,6 +39,6 @@ class ActionModule(object):
if 'fail' in args and utils.boolean(args['fail']):
result = dict(failed=True, msg=args['msg'])
else:
result = dict(msg=str(args['msg']))
result = dict(msg=args['msg'])
return ReturnData(conn=conn, result=result)