# clear\_host\_errors bug?

**URL:** <https://forum.ansible.com/t/clear-host-errors-bug/24848>\
**Category:** Ansible Project\
**Created:** [June 29, 2017, 10:08am UTC](https://forum.ansible.com/t/clear-host-errors-bug/24848 "2017-06-29T10:08:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MKPhil](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Post date:** [June 29, 2017, 10:08am UTC](https://forum.ansible.com/t/clear-host-errors-bug/24848/1 "2017-06-29T10:08:01Z")

</div>

I’m running Ansible 2.3.1.0 and getting some off behaviour with clear\_host\_errors - is this a bug???

Here’s a sample Playbook:

`

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [June 30, 2017, 6:49pm UTC](https://forum.ansible.com/t/clear-host-errors-bug/24848/2 "2017-06-30T18:49:12Z")

</div>

I can confirm this behavior. To me it looks like a bug.
