check this task if it helps as reference https://github.com/ac427/my_cm/blob/master/ansible/roles/ansible_jenkins_role/tasks/jenkins_CentOS.yml
On Thursday, April 7, 2016 at 6:32:23 AM UTC-4, mondher khas wrote: > > hello,i tried to download a package with get_url ansible,but i have a > problem. > The url contain some variables so i wrote like this. > > *- get_url: url=http://example.com/{{variable1}}/path/{{variable2}}.tar.gz > <http://example.com/%7B%7Bvariable1%7D%7D/path/%7B%7Bvariable2%7D%7D.tar.gz> > dest=dest/to/path* > But i couldn't get the package.some help please. > -- 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/7e7234cf-9f5c-409a-bae5-0bdc2b104648%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
