Use templated handler name during callback

Fixes #14082
pull/14214/head
James Cammarata 9 years ago
parent a516f883ac
commit 0c250f2b07

@ -545,7 +545,10 @@ class StrategyBase:
# self._tqm.send_callback('v2_playbook_on_no_hosts_remaining') # self._tqm.send_callback('v2_playbook_on_no_hosts_remaining')
# result = False # result = False
# break # break
saved_name = handler.name
handler.name = handler_name
self._tqm.send_callback('v2_playbook_on_handler_task_start', handler) self._tqm.send_callback('v2_playbook_on_handler_task_start', handler)
handler.name = saved_name
if notified_hosts is None: if notified_hosts is None:
notified_hosts = self._notified_handlers[handler_name] notified_hosts = self._notified_handlers[handler_name]

Loading…
Cancel
Save