Use ansible maximum fail percentage and set it to 1% (or 0% if 0 isn't treated 
special). This way, if any tasks fail on the play executing on the play running 
against the nodejs group, the Ami play following will not run. 
http://docs.ansible.com/ansible/playbooks_delegation.html#maximum-failure-percentage

-- 
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/46019ac6-e753-43bc-bc33-c0827a24b1ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to