# any\_errors\_fatal as a global config?

**URL:** <https://forum.ansible.com/t/any-errors-fatal-as-a-global-config/21400>\
**Category:** Ansible Project\
**Created:** [May 11, 2016, 7:10am UTC](https://forum.ansible.com/t/any-errors-fatal-as-a-global-config/21400 "2016-05-11T07:10:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bharathwaj\_Sankara](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@Bharathwaj\_Sankara](https://forum.ansible.com/u/Bharathwaj_Sankara)\
**Post date:** [May 11, 2016, 7:10am UTC](https://forum.ansible.com/t/any-errors-fatal-as-a-global-config/21400/1 "2016-05-11T07:10:03Z")

</div>

Hello-  
I want to stop the playbook on hitting the first error and not proceed anything further, I understand  
`any_errors_fatal: True`

will take care of that at a playbook level.

However I have a deployment/upgrade process where we run multiple playbooks (over 150) and new ones are getting added on a weekly basis. So adding

any\_errors\_fatal: True

to each any every playbook is cumbersome and is a nightmare to make sure all new playbooks will come with this option by default.

Is there a global config - like a env variable or an ansible.cfg option to run with option.  
`any_errors_fatal: True`

Thanks

---

<div class="post-metadata">

**Author:** ![Sebastian\_Szwed](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@Sebastian\_Szwed](https://forum.ansible.com/u/Sebastian_Szwed)\
**Post date:** [October 4, 2016, 2:41pm UTC](https://forum.ansible.com/t/any-errors-fatal-as-a-global-config/21400/2 "2016-10-04T14:41:38Z")

</div>

Hello,

I’ve got a similar problem, did you solve it?

Thanks

W dniu czwartek, 12 maja 2016 19:10:44 UTC+2 użytkownik Bharathwaj Sankara napisał:

---

<div class="post-metadata">

**Author:** ![james3](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@james3](https://forum.ansible.com/u/james3)\
**Post date:** [April 28, 2017, 9:42pm UTC](https://forum.ansible.com/t/any-errors-fatal-as-a-global-config/21400/3 "2017-04-28T21:42:33Z")

</div>

[https://github.com/ansible/ansible/issues/22340](https://github.com/ansible/ansible/issues/22340)
