ansible_failed_task is undefined in the rescue section if an error is thrown from a loop task #74303
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Summary
Referencing:
ansible_failed_task
is referencing out of scope loop variables. #57399This fix #73881 does not fix those above.
Issue Type
Bug Report
Component Name
block
Ansible Version
Configuration
$ ansible-config dump --only-changed
OS / Environment
Ubuntu 16.04.5 LTS (Xenial Xerus)
Steps to Reproduce
Expected Results
ansible_failed_task is defined
Actual Results
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered: