any_errors_fatal as a global config?

168 views
Skip to first unread message

Bharathwaj Sankara

unread,
May 12, 2016, 1:10:44 PM5/12/16
to Ansible Project
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


Sebastian Szwed

unread,
Oct 4, 2016, 11:26:32 AM10/4/16
to Ansible Project
Hello,

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

Thanks

ja...@blend.com

unread,
Apr 28, 2017, 5:42:33 PM4/28/17
to Ansible Project
Reply all
Reply to author
Forward
0 new messages