On 7 February 2014 18:05, Jan-Piet Mens <[email protected]> wrote:

> > I am looking for a way to download a file to the local machine where
> > ansible was started and then copy that file to the remote server.
>
> action: get_url ...
> action: copy ...


​That's exactly what we do. Though depending on which url you use to
download from nexus, you might want to choose the uri module to do the
download. ​The latter one allows you to register the exact filename, when
you use Nexus' rest api, which does a redirect to the exact file location.


Serge

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to