mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fixes issue 11286 where role handlers are not run
This commit is contained in:
committed by
James Cammarata
parent
6e61881e80
commit
be81b650e8
@@ -129,6 +129,9 @@ class ResultProcess(multiprocessing.Process):
|
||||
# So, per the docs, we reassign the list so the proxy picks up and
|
||||
# notifies all other threads
|
||||
for notify in result._task.notify:
|
||||
if result._task._role:
|
||||
role_name = result._task._role.get_name()
|
||||
notify = "%s : %s" %(role_name, notify)
|
||||
self._send_result(('notify_handler', result._host, notify))
|
||||
|
||||
if result._task.loop:
|
||||
|
||||
Reference in New Issue
Block a user