--
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 ansible-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Would you be willing to help to test the fix? When both max_fail_percentage and any_errors_fatal is used ?
if task.any_errors_fatal and len(host_list) < hosts_count:host_list = None# If threshold for max nodes failed is exceeded , bail out.
if (hosts_count - len(host_list)) > int((play.max_fail_pct)/100.0 * hosts_count):
host_list = None
# If threshold for max nodes failed is exceeded or if any_errors_fatal is true, bail out.if ((task.any_errors_fatal and len(host_list) < hosts_count) or((hosts_count - len(host_list)) > int((play.max_fail_pct)/100.0 * hosts_count))):host_list = None