[ansible-project] Re: any_errors_fatal as a global config?

2017-04-28 Thread james
https://github.com/ansible/ansible/issues/22340

On Thursday, May 12, 2016 at 10:10:44 AM UTC-7, Bharathwaj Sankara wrote:
>
> 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
>
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9fe5e1be-d892-49e1-929f-fe36f5e94586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: any_errors_fatal as a global config?

2016-10-04 Thread Sebastian Szwed
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ł:
>
> 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
>
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d95f49ae-e9b7-4491-8118-f89806c98af2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.