# How to use ignore\_errors and include statement together?

**URL:** <https://forum.ansible.com/t/how-to-use-ignore-errors-and-include-statement-together/23392>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [January 5, 2017, 11:08pm UTC](https://forum.ansible.com/t/how-to-use-ignore-errors-and-include-statement-together/23392 "2017-01-05T23:08:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [January 5, 2017, 11:08pm UTC](https://forum.ansible.com/t/how-to-use-ignore-errors-and-include-statement-together/23392/1 "2017-01-05T23:08:20Z")

</div>

that will only work on dynamic includes

- include: tasks/{{ worker\_type }}.yml  
static: no  
ignore\_errors: yes
