Hey everyone - if I was going to use an Ansible module to push or PUT a file into say JFrog Artfactory, using an API key, which of the Ansible modules would be best? I have looked at the uri module and the net_put but those do not seem to have the functionality that I would need.
I see get_url but that seems to be for the direction from the destination to the source.
Can anyone shed some light? Which module would be best for this job? I have never had to do this before and I’m a little lost.
To put or post a file to an API I would usually use the uri module. Are you able to explain more what it seems to be missing or post an example? Thanks
I have a JFrog Artifactory server, and I want to use Ansible to upoload/PUT files into the repos that I have in Artifactory. - attempting to use the uri module:
I posted what I had below - I am missing something I am sure.
Am I going about this the wrong way? Thanks for any help you can offer. It’s appreciated.