Re: [ansible-project] Issue with curl command running with shell module

2020-02-06 Thread Dick Visser
Hi Pawan You state: "Curl command is working fine on command line shell". But in fact, it is not working fine, because it exits with error code 3, which (according to https://curl.haxx.se/libcurl/c/libcurl-errors.html) means "The URL was not properly formatted." You would have seen that if you did

[ansible-project] Issue with curl command running with shell module

2020-02-06 Thread Pawan Kumar
Hi Team, Curl command is working fine on command line shell ,but when running the same command using Ansible shell module it's throwing error . The exact issue coming when i am using curl command with multiple parameters (example -i /opt/hosts proxy ) . Here is my playbook - name: