Well first of all if you check the module docs
http://docs.ansible.com/ansible/uri_module.html you can see that body_format
was introduced in ansible 2.0 so you can't use it in 1.9.1
It also shows an example of supplying the json file to the body parameter that
looks much cleaner than what you are trying to do:
body: "{{ lookup('file','issue.json') }}"
Have you tried that?
--
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/53fde8bb-cca0-43aa-b464-8c6e6ad1bf9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.