Re: [ansible-project] Upload and install file using uri module

2020-01-29 Thread Amarnatha Reddy
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 -- You received this message because you are sub

Re: [ansible-project] Upload and install file using uri module

2020-01-29 Thread Matt Martz
The uri module does not support multipart/form-data currently. On Wed, Jan 29, 2020 at 11:32 AM Amarnatha Reddy 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? > > Up

[ansible-project] Upload and install file using uri module

2020-01-29 Thread Amarnatha Reddy
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