# "ping" job failed !

**URL:** <https://forum.ansible.com/t/ping-job-failed/30209>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [April 29, 2019, 8:51am UTC](https://forum.ansible.com/t/ping-job-failed/30209 "2019-04-29T08:51:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamedjarboui1995](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@mohamedjarboui1995](https://forum.ansible.com/u/mohamedjarboui1995)\
**Post date:** [April 29, 2019, 8:51am UTC](https://forum.ansible.com/t/ping-job-failed/30209/1 "2019-04-29T08:51:47Z")

</div>

Hello evreyone,

Im a newbie to awx ansible project, can you tell me please where can i find the log of failed job because i followed this tutorial : [https://www.howtoforge.com/ansible-awx-guide-basic-usage-and-configuration/](https://www.howtoforge.com/ansible-awx-guide-basic-usage-and-configuration/) which is use the “ping” module to check whether the remote host is reachable via SSH connection, im totally sure about the setup of the inventories, hosts and credentials, In addition to that, it’s succeed when i use this job ( ping module ) in case of localhost?

PLEASE HELP ME !

thanks 😉  
Mohamed Amine Jarboui.

---

<div class="post-metadata">

**Author:** ![shivharsh.nec](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@shivharsh.nec](https://forum.ansible.com/u/shivharsh.nec)\
**Post date:** [April 29, 2019, 10:16am UTC](https://forum.ansible.com/t/ping-job-failed/30209/2 "2019-04-29T10:16:00Z")

</div>

Hi,

You should be able to locate the logging for failed jobs in console logs for the AWX containers. Use below command to see the logs

`  
docker logs \<container\_name\>

`

You will be able to access the container name by executing the “docker ps” command.

Hope this is helpful !

Thanks,  
Shivharsh

---

<div class="post-metadata">

**Author:** ![mohamedjarboui1995](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@mohamedjarboui1995](https://forum.ansible.com/u/mohamedjarboui1995)\
**Post date:** [April 29, 2019, 2:16pm UTC](https://forum.ansible.com/t/ping-job-failed/30209/3 "2019-04-29T14:16:18Z")

</div>

Thanks for your reply, but i still can’t run the ping 'module on the remote host , the job is failed !, thanks.

---

<div class="post-metadata">

**Author:** ![Geoffrey\_Mills](https://avatars.discourse-cdn.com/v4/letter/g/c5a1d2/32.png) [@Geoffrey\_Mills](https://forum.ansible.com/u/Geoffrey_Mills)\
**Post date:** [April 29, 2019, 7:44pm UTC](https://forum.ansible.com/t/ping-job-failed/30209/4 "2019-04-29T19:44:06Z")

</div>

Hi,

Check this out: [https://github.com/ansible/ansible/issues/22745](https://github.com/ansible/ansible/issues/22745)  
Sounds like my experience trying to get AWX/Ansible working

Quick Summary:

Issue caused by ‘ansible’ userid on client computers needs a file called ’ ~/.ssh/config’ with the contents:

Host \*

IdentityFile ~/.ssh/id\_rsa

AddKeysToAgent yes

Then run ‘chmod 600 ~/.ssh/config’ (should be owned by ‘ansible’ obviously)

Now the ping connectivity works

Regards  
Geoffrey Mills

---

<div class="post-metadata">

**Author:** ![mohamedjarboui1995](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@mohamedjarboui1995](https://forum.ansible.com/u/mohamedjarboui1995)\
**Post date:** [April 30, 2019, 6:56am UTC](https://forum.ansible.com/t/ping-job-failed/30209/5 "2019-04-30T06:56:31Z")

</div>

Hello,  
Thanks for your reply, when i ping the ansible host with the ad\_hoc command it's works ( not using the ui of awx), but when i use the module "ping" in awx doesn't works,how can i overcame this problem? thanks.  
Mohamed Amine Jarboui.

---

<div class="post-metadata">

**Author:** ![iamlightsocialxen](https://avatars.discourse-cdn.com/v4/letter/i/ee59a6/32.png) [@iamlightsocialxen](https://forum.ansible.com/u/iamlightsocialxen)\
**Post date:** [May 1, 2019, 2:14am UTC](https://forum.ansible.com/t/ping-job-failed/30209/6 "2019-05-01T02:14:56Z")

</div>

Can you increase verbosity of the logs in AWX UI when launching AD-HOC job , and share that ? That might help more.
