mirror of https://github.com/ansible/ansible.git
Fix unreachable host/any_errors_fatal bug in linear strategy
pull/17045/head2e003adb
added the ability for tasks using any_errors_fatal to fail when there were unreachable hosts. However that patch used the running unreachable hosts data rather than the results from the current task, which causes failures when any run_once or BYPASS_HOST_LOOP task is hit after an unreachable host causes a failure. This patch corrects that by using the current set of results to determine if any hosts were unreachable during the last task only. Fixes ansible/ansible-modules-core#4160 (cherry picked from commit245ce9461d
)
parent
ad3128e661
commit
bac0028350
Loading…
Reference in New Issue