# AWX Localhost

**URL:** <https://forum.ansible.com/t/awx-localhost/29506>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 23, 2019, 4:51pm UTC](https://forum.ansible.com/t/awx-localhost/29506 "2019-01-23T16:51:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryad9200000](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Post date:** [January 23, 2019, 4:51pm UTC](https://forum.ansible.com/t/awx-localhost/29506/1 "2019-01-23T16:51:18Z")

</div>

Bonjour,

Sur AWX sur une machine cible get\_url fonctionne parfaitement.

En revanche, en localhost cela ne fonctionne pas.

voici mon inventaire sur awx :

Nom d’hôte : localhost

ansible\_user: “ansible”  
ansible\_connection: “local”

ma tâche :

- name: “Télécharger et dézipper un zip URL”  
get\_url:  
url: http://…/file.zip  
dest: /home/user/  
remote\_src: yes

Voici le message d’erreur :

fatal: [localhost]: FAILED! =\> {“changed”: false, “dest”: “…/test”, “gid”: 1003, “group”: “1003”, “mode”: “0755”, “msg”: “Connection failure: timed out”, “owner”: “1003”, “size”: 4096, “state”: “directory”, “uid”: 1003, “url”: “[http://maven.pebsbuild01.emea.cegedim.grp/gis/gis-backoffice-distrib-ansible/18.jdk8-SNAPSHOT/gis-backoffice-distrib-ansible-18.jdk8-SNAPSHOT.zip](http://maven.pebsbuild01.emea.cegedim.grp/gis/gis-backoffice-distrib-ansible/18.jdk8-SNAPSHOT/gis-backoffice-distrib-ansible-18.jdk8-SNAPSHOT.zip)”}

unarchive fonctionne également sur un hôte distant et non en localhost pourquoi ?

Je vous remercie de votre aide.

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [January 23, 2019, 5:09pm UTC](https://forum.ansible.com/t/awx-localhost/29506/2 "2019-01-23T17:09:17Z")

</div>

> Connection failure: timed out

You’ll need to figure out why that is happening from the container that AWX is running in. Check up on your docker settings and make sure it can get through to whatever network is needed.

---

<div class="post-metadata">

**Author:** ![ryad9200000](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Post date:** [January 23, 2019, 5:23pm UTC](https://forum.ansible.com/t/awx-localhost/29506/3 "2019-01-23T17:23:05Z")

</div>

Hi,

It can reach the required network since the other tasks run perfectly.

thank you for helping me please !!

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [January 23, 2019, 6:06pm UTC](https://forum.ansible.com/t/awx-localhost/29506/4 "2019-01-23T18:06:21Z")

</div>

> Connection failure: timed out

It doesn’t look like that’s the case
