# ansible get-url notworking

**URL:** <https://forum.ansible.com/t/ansible-get-url-notworking/25719>\
**Category:** Ansible Project\
**Created:** [October 11, 2017, 5:55am UTC](https://forum.ansible.com/t/ansible-get-url-notworking/25719 "2017-10-11T05:55:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sri\_Valli](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Sri\_Valli](https://forum.ansible.com/u/Sri_Valli)\
**Post date:** [October 11, 2017, 5:55am UTC](https://forum.ansible.com/t/ansible-get-url-notworking/25719/1 "2017-10-11T05:55:25Z")

</div>

i am just executing below yml file  
name: Download oracle-jdk8  
get\_url: url={{ jdk\_url }} dest={{jdk\_archive\_file}} mode=0755

i am getting below error

TASK [oraclejdk8 : Download oracle-jdk8] \*\*  
fatal: [127.0.0.1]: FAILED! =\> {“changed”: false, “dest”: “/tmp/jdk.tar.gz”, “failed”: true, “msg”: “Request failed: ”, “state”: “absent”, “url”: “[http://repo.oneplatform.build/nexus/content/repositories/releases/oracle/jdk8/8u31/jdk8-8u31-x64.tar.gz](http://repo.oneplatform.build/nexus/content/repositories/releases/oracle/jdk8/8u31/jdk8-8u31-x64.tar.gz)”}

but this url is working fine  
what is erong in this  
can anyone help me out please

---

<div class="post-metadata">

**Author:** ![Daniel\_JD](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@Daniel\_JD](https://forum.ansible.com/u/Daniel_JD)\
**Post date:** [October 11, 2017, 11:06am UTC](https://forum.ansible.com/t/ansible-get-url-notworking/25719/2 "2017-10-11T11:06:48Z")

</div>

It’s not working for me. I get a 5xx Server error.
