Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Escaping Json String
9 views
Skip to first unread message
b...@book-md.com
unread,
Apr 25, 2016, 8:11:12 AM
4/25/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
In version 2.0.2.0 (in version 2.0.0.2 it works fine)
In a local action I'm generating the following json object
https://gist.github.com/thebenwaters/7795d1cdead9280e0c5abcbc23b9ca59
Then registering it to standard out it looks like so:
https://gist.github.com/thebenwaters/5299d3d9986985697ae87a30a33890ec
but it needs to looklike
https://gist.github.com/thebenwaters/991d0263e47972fd7f2209560033fab0
Why did it change from the last version and is there a way to fix it?
One possible solution I had was to use the
|
quote
filter, but it ends up with illegal single quotes at the beginning
https://gist.github.com/thebenwaters/899928514f26eb96986048787c3a5af0
Reply all
Reply to author
Forward
0 new messages