[ansible-project] Re: Variable substitution in uri module

2015-10-15 Thread Sharwari Phadnis
HI, I am facing the same problem. I went through the link which you've posted but couldn't find the exact solution. Could you please post the solution which you've tried? On Saturday, October 3, 2015 at 1:15:51 AM UTC+5:30, mic...@networktocode.com wrote: > > I solved the problem after a lot

[ansible-project] Re: Variable substitution in uri module

2015-10-15 Thread Sharwari Phadnis
Hi, I'd explain my problem clearly, I have a same type of example as yours. vars: my_var: hello_world tasks: - uri: url: https://localhost/api/v1/ method: POST body: jsoncode='{ "name": "test", "var": "{{ my_var }}", "location": "usa"

[ansible-project] Re: Variable substitution in uri module

2015-10-02 Thread michael
I solved the problem after a lot of digging. In case it's of use to anyone else: https://github.com/ansible/ansible/issues/7005 On Thursday, October 1, 2015 at 4:02:29 PM UTC-4, mic...@networktocode.com wrote: > > Hi all, > > Similar to >