On 3 March 2017 at 19:44, Pedro Ferro <[email protected]> wrote: > > > > Hi, > I'm tryning to make this on a file > > > - name: download jts-1.13.jar > get_url: > url: > http://search.maven.org/remotecontent?filepath=com/vividsolutions/jts/1.13/jts-1.13.jar > -O jts-1.13.jar > dest: /tmp/jts-1.13.jar > > but get this error > TASK [download jts-1.13.jar] > *************************************************** > fatal: [localhost]: FAILED! => {"changed": false, "dest": > "/tmp/jts-1.13.jar", "failed": true, "msg": "Request failed: <urlopen error > [Errno 113] No route to host>", "state": "absent", "url": > "http://search.maven.org/remotecontent?filepath=com/vividsolutions/jts/1.13/jts-1.13.jar > -O jts-1.13.jar"} > > > on terminal if I do like this it works > > wget > http://search.maven.org/remotecontent?filepath=com/vividsolutions/jts/1.13/jts-1.13.jar > -O jts-1.13.jar > > If someone could help I appreciate
You included the wget '-O' option in the 'url' parameter of get_url.... -- Dick Visser Sr. System & Network Engineer GÉANT Want to join us? We're hiring: https://www.geant.org/jobs -- 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/CAL8fbwPXbP-i9f%2BUuAijTkE2NCPFmS2c3-3jL%3DeoxJ%2BsssePzA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
