So, if I understand you correctly there is no feature to abort the entire 
playbook run incase of a single error encountered?

The only solution that seems; is to have a when condition check on every tasks 
of a playbook.

The ansible documentation in this regards have been questioned in the past and 
seems confusing.

Documentation says: The any_errors_fatal play option will mark all hosts as 
failed if any fails, causing an immediate abort:

Now, if you look at my output any_errors_fatal does not mark all hosts as 
failed if the first one errors out; but checks explicitly for all hosts and all 
tasks.

-- 
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/55167c04-05bc-4415-a7f4-23ddac370c49%40googlegroups.com.

Reply via email to