any_errors_fatal as a global config?

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

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ł:

https://github.com/ansible/ansible/issues/22340