Hi
I have this:
- some_action: ....
register: jsonformat
- debug: var=jsonformat
- local_action: shell echo {{ jsonformat }} > output
The json in console is displayed fine from debug action but the output file
is not a valid json. It has some escape and unicode values. How can i
output a valid json document to a file from a variable?
thx in advance.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/0ea3e3d2-61bd-4bee-8602-7da9c41e865d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.