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:
>>
>>
>> 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