# unreachable host comes in failed task

**URL:** <https://forum.ansible.com/t/unreachable-host-comes-in-failed-task/38817>\
**Category:** Ansible Project\
**Created:** [June 24, 2024, 9:00am UTC](https://forum.ansible.com/t/unreachable-host-comes-in-failed-task/38817 "2024-06-24T09:00:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azadeh\_Amirhosseini](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@Azadeh\_Amirhosseini](https://forum.ansible.com/u/Azadeh_Amirhosseini)\
**Post date:** [June 24, 2024, 9:00am UTC](https://forum.ansible.com/t/unreachable-host-comes-in-failed-task/38817/1 "2024-06-24T09:00:39Z")

</div>

Hi All,  
I am usning ansible-core 2.16.7  
when there exists an unreachable host in the hostname list by inventory, say the ip-address is wrong, in the output of the playbook, it comes under failed task, but i expect it to come on unreachable host, as later in call-back module i will do some process on it.

Anyone has any idea about it, please?
