Unexpected Exception when using notify with an handler defined in another play by an imported role #44848
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
has_pr
This issue has an associated PR.
python3
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
traceback
This issue/PR includes a traceback.
SUMMARY
An exception occurs when a task tries to notify an handler from another play. This other play needs to use
import_role
in order to reproduce this error.ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
Python 3.6
STEPS TO REPRODUCE
EXPECTED RESULTS
ERROR! The requested handler 'test1' was not found in either the main handlers list nor in the listening handlers list
ACTUAL RESULTS
See backtrace in summary.
The text was updated successfully, but these errors were encountered: