The uri module does not support multipart/form-data currently.

On Wed, Jan 29, 2020 at 11:32 AM Amarnatha Reddy <[email protected]>
wrote:

> Hi All,
>
> I am trying to upload and installing package on remote machine using uri
> module.
>
>
> How to convert below existing method of curl to ansible uri module?
>
> Upload a package AND install
>         curl -u admin:admin -F file=@"name of zip file" -F name="name of
> package"
>         -F force=true -F install=true
> http://localhost:4502/crx/packmgr/service.jsp
>
> Kindly help someone please?
>
> Amaranth
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/21ae3bf5-4f5d-46a2-af32-8b92f9d177e3%40googlegroups.com
> .
>


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAD8N0v8fVdY86TQ%3DYdxaeSo%3Dk6V_nwRFg6tFO6DJtdAVBJd%2BDQ%40mail.gmail.com.

Reply via email to