any_errors_fatal doesn't work any more #18021
Labels
affects_2.3
This issue/PR affects Ansible v2.3
bug
This issue/PR relates to a bug.
P2
Priority 2 - Issue Blocks Release
Milestone
ISSUE TYPE
COMPONENT NAME
core
ANSIBLE VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
Setting
any_errors_fatal
on a play or task doesn't work; settingmax_fail_percentage: 0
does.I notice that
plugins/strategy/linear.py
has code to deal with any_errors_fatal, but it doesn't look at_play.any_errors_fatal
at all, only at the task attribute. But setting it on the task doesn't seem to work either. (I imagine we don't need to check the block attribute here, because the tasks will inherit it. Is that right?)STEPS TO REPRODUCE
EXPECTED RESULTS
b should not execute the debug.
ACTUAL RESULTS
b executes the debug.
The text was updated successfully, but these errors were encountered: