Hi! I have a playbook that has three plays, each one deploying software to
a set of servers . . . if any of these plays fail I want the playbook to
stop running. Is that what any_errors_fatal is for? It sounds like it's
close, but I can't tell if in the case of multiple plays it will work as I
need.
So the top-level playbook is something like this:
- hosts: set_a
roles:
- foo
- hosts: set_b
roles:
- bar
- hosts: set_c
roles:
- baz
At specific points within the roles foo and bar I would like to stop the
run if there are failures, most importantly, I do not want set_c to get
updated. Any thoughts are greatly appreciated!
Thanks a lot!
--
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/CABnTgtUNMe1e8enw1Nb7inYupTgnOXwATmC%2B73HHp4PdRDou3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.