host failure does not skip the remaining roles/plays for the failed hosts

19 views
Skip to first unread message

Jesse Schlüter

unread,
Jan 20, 2016, 10:28:39 AM1/20/16
to Ansible Project
Hello everyone,

we just switched to ansible 2.0. First of all thanks for all the work you put into it!

But it seems I am unable to get it to behave "the way I am used to" ;)

Until now we had a task in the playbooks to check whether a host is "alive". With 1.9 all remaining tasks/roles/plays were skipped for a host if the first task failed. Now with 2.0 for every role/play ansible forgets that the host already failed and tries to execute tasks on this host again.

Is there a way to get the old behavior back?

Best regards,
Jesse
Reply all
Reply to author
Forward
0 new messages