Upload and install file using uri module

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

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

Thanks Matt,

So shell/command module is the only option to achieve aboverequirement?..is there any other possible ways ?and also any idea this was consider already and future version will available(just curiosity)?

My ansible 2.7.0

Amaranth