Re: [ansible-project] URI module equivalent for 'curl --upload-file'

2015-03-16 Thread Toshio Kuratomi
I just took a look at the code of the uri module and it looks like src is accepted but isn't used. (Other file module parameters are also accepted but not used like mode for file mode). With that support lacking I don't see any way to upload a binary file via the uri module currently. So using t

[ansible-project] URI module equivalent for 'curl --upload-file'

2015-03-12 Thread Kyle Frank
HI. I've been trying to deploy a war file to the Tomcat manager using the uri module. I've been able to use curl from the command line to achieve this but I can't seem to translate it into an ansible task that uses the uri module. I could just use the shell module and insert the curl command