I think that would end up triple json encoding it.  The uri module is
basically expecting a dict when you supply body_format=json.

On Wednesday, February 10, 2016, Brian Coca <[email protected]> wrote:

> actually you want |to_json filter.
>
> --
> 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]
> <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CACVha7fQgi%2BRhUeHW2cL2CjUKUt63UvJ0zASZRdEfgs4Cwg10A%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CACVha7fQgi%2BRhUeHW2cL2CjUKUt63UvJ0zASZRdEfgs4Cwg10A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Matt Martz
@sivel
sivel.net

-- 
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/CAD8N0v8-qqe%3D%3DkHo2FZ_6UNfT8hTTmq_H19kwEDugmLhHF6GxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to