# How to capture unreachable host and authentication failure host

**URL:** <https://forum.ansible.com/t/how-to-capture-unreachable-host-and-authentication-failure-host/33440>\
**Category:** Ansible Developer\
**Created:** [July 20, 2020, 6:18pm UTC](https://forum.ansible.com/t/how-to-capture-unreachable-host-and-authentication-failure-host/33440 "2020-07-20T18:18:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pushparaj\_Gothandam](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pushparaj_gothandam/32/5538_2.png) [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Post date:** [July 20, 2020, 6:18pm UTC](https://forum.ansible.com/t/how-to-capture-unreachable-host-and-authentication-failure-host/33440/1 "2020-07-20T18:18:17Z")

</div>

Hi Team,

We are running a task against 1000 network devices, We get a few hosts failed and ansible skips those hosts in the next task.

We are generating a report in the end , We need to have those unreachable hosts and authentication failure hosts in the report.

Can anyone help me ?

Thanks

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [July 20, 2020, 6:22pm UTC](https://forum.ansible.com/t/how-to-capture-unreachable-host-and-authentication-failure-host/33440/2 "2020-07-20T18:22:22Z")

</div>

Sounds like you could utilize the `ignore_unreachable` keyword:

[https://docs.ansible.com/ansible/latest/reference\_appendices/playbooks\_keywords.html#term-ignore-unreachable](https://docs.ansible.com/ansible/latest/reference_appendices/playbooks_keywords.html#term-ignore-unreachable)
