download jts-1.13.jar

12 views
Skip to first unread message

Pedro Ferro

unread,
Mar 3, 2017, 1:44:30 PM3/3/17
to Ansible Project


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

Thanks in advance
Pedro

Dick Visser

unread,
Mar 3, 2017, 1:54:47 PM3/3/17
to ansible...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages