Re: [ansible-project] Fetch from URL to local machine and then copy to remote

2014-02-15 Thread Martin Jöhren
i finally used something like that: - name: download locally local_action: get_url dest works fine. Thanks to all Am Samstag, 15. Februar 2014 14:22:23 UTC+1 schrieb Martin Jöhren: thx guys. will try that Am Freitag, 7. Februar 2014 19:26:09 UTC+1 schrieb Serge van Ginderachter:

[ansible-project] Fetch from URL to local machine and then copy to remote

2014-02-07 Thread Martin Jöhren
Hi, 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. Background: due to security issues we cannot directly download the file from our nexus on the remote server so we need to download it first to the local

Re: [ansible-project] Fetch from URL to local machine and then copy to remote

2014-02-07 Thread Romeo Theriault
Sounds like you can use the 'get_url' module with 'delegate_to: 127.0.0.1' to download the file locally, then use the 'copy' module to copy it to the remote host. On Fri, Feb 7, 2014 at 5:55 AM, Martin Jöhren m.joeh...@gmail.com wrote: Hi, I am looking for a way to download a file to the local

Re: [ansible-project] Fetch from URL to local machine and then copy to remote

2014-02-07 Thread Jan-Piet Mens
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 ... -JP -- You received this message because you are subscribed to the Google Groups Ansible Project group. To

Re: [ansible-project] Fetch from URL to local machine and then copy to remote

2014-02-07 Thread Serge van Ginderachter
On 7 February 2014 18:05, Jan-Piet Mens jpm...@gmail.com 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