Hello,

My playbook has several hosts, and I have some tasks with *assert *and *fail 
*modules. How to do that if the task gets any fatal error in the play 
within particular host - the whole play should is terminated ?

I thought that playbook command *any_errors_fatal *would work, but seems 
not.

Is there any other way to make playbook stop if any of the hosts 
experiences errors ? 

I see ansible has meta modules - there are some kind like end_play module, 
maybe this one would work..

Thank you.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/87c9f759-872f-40b7-b80c-73f61817fb82n%40googlegroups.com.

Reply via email to