mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
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:
parent
aa4ad80bda
commit
cdaa2085ee
5 changed files with 36 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue