On Wednesday, February 26, 2014 6:05:26 PM UTC-8, Mark Butler wrote: > > Hi team, > > i need to download and deploy some jars using Ansible from Jenkins. Some > of our jars with dependencies are large (150mb) so this is slow. > > Assuming that you can get them onto the Ansible server (use local_action maybe?) then the best suggestion that I have is to use copy or synchronise to get them onto the remote machines...
Synchronise uses rsync while copy takes an md5 of the local file and the remote file and only sends it over if the result is different. You may still need to download the files once per run so that you have them locally to compare against the destinations, but that would be an improvement over using get_url on each client to download the files every time. I hope that this helps, Adam -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cd411bbf-778e-41db-94aa-f74954f317aa%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
