# ansible ignore\_errors: yes

**URL:** <https://forum.ansible.com/t/ansible-ignore-errors-yes/31969>\
**Category:** Ansible Project\
**Created:** [January 14, 2020, 4:30pm UTC](https://forum.ansible.com/t/ansible-ignore-errors-yes/31969 "2020-01-14T16:30:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karther](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@Karther](https://forum.ansible.com/u/Karther)\
**Post date:** [January 14, 2020, 4:30pm UTC](https://forum.ansible.com/t/ansible-ignore-errors-yes/31969/1 "2020-01-14T16:30:49Z")

</div>

Hey community Ansible !! 🙂

I would like to know if possible there is a parameter same ignore\_errors but not display on screen message error in red …

The problem with **ignore\_errors: yes** is that when there is one error in this task, the message error is display in red …

Can you help me please !!! 🙂

Thanks you very much community Ansible !! 🙂

Best regards,

Karther

---

<div class="post-metadata">

**Author:** ![vbotka](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/vbotka/32/359_2.png) [@vbotka](https://forum.ansible.com/u/vbotka)\
**Post date:** [January 14, 2020, 4:57pm UTC](https://forum.ansible.com/t/ansible-ignore-errors-yes/31969/2 "2020-01-14T16:57:44Z")

</div>

Use 'rescue' section. See "Blocks error handling"  
[https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_blocks.html#blocks-error-handling](https://docs.ansible.com/ansible/latest/user_guide/playbooks_blocks.html#blocks-error-handling)

It's possible to 'clear\_host\_errors' and 'end host' gracefully. See "meta"  
[https://docs.ansible.com/ansible/latest/modules/meta\_module.html#meta-execute-ansible-actions](https://docs.ansible.com/ansible/latest/modules/meta_module.html#meta-execute-ansible-actions)

HTH

&nbsp;&nbsp;-vlado

---

<div class="post-metadata">

**Author:** ![acozine1](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@acozine1](https://forum.ansible.com/u/acozine1)\
**Post date:** [January 14, 2020, 8:01pm UTC](https://forum.ansible.com/t/ansible-ignore-errors-yes/31969/3 "2020-01-14T20:01:35Z")

</div>

For more information on controlling what Ansible sees as a failure and how it responds, see

[https://docs.ansible.com/ansible/devel/user\_guide/playbooks\_error\_handling.html](https://docs.ansible.com/ansible/devel/user_guide/playbooks_error_handling.html)

Hope this helps,  
Alicia
