On 07.11.2017 12:25, Jonathan Nuñez Aguin wrote:
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?

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

--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f385bcf8245ee67c639162bb9841dc98%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to