Maximum Failure Percentage - global setting

Hello,

I have multiple plays where we need to fail when one of the host has a failure, behaviour that we can configure by using “max_fail_percentage: 0” but we need to add this setting in each play which is really verbose and prone to errors if the developer miss it in a new play. Is there a way of setting up “max_fail_percentage” in the Ansible CFG or globally?

Thanks!

I don't think you can set max_fail_percentage, but you can set any_errors_fatal to true

http://docs.ansible.com/ansible/latest/config.html#any-errors-fatal