# download jts-1.13.jar

**URL:** <https://forum.ansible.com/t/download-jts-1-13-jar/23878>\
**Category:** Ansible Project\
**Created:** [March 3, 2017, 6:44pm UTC](https://forum.ansible.com/t/download-jts-1-13-jar/23878 "2017-03-03T18:44:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Ferro](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pedro\_Ferro](https://forum.ansible.com/u/Pedro_Ferro)\
**Post date:** [March 3, 2017, 6:44pm UTC](https://forum.ansible.com/t/download-jts-1-13-jar/23878/1 "2017-03-03T18:44:29Z")

</div>

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](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](http://search.maven.org/remotecontent?filepath=com/vividsolutions/jts/1.13/jts-1.13.jar%20-O%20jts-1.13.jar)`

If someone could help I appreciate

Thanks in advance  
Pedro

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [March 3, 2017, 6:54pm UTC](https://forum.ansible.com/t/download-jts-1-13-jar/23878/2 "2017-03-03T18:54:13Z")

</div>

You included the wget '-O' option in the 'url' parameter of get\_url....
