Use get_handler_blocks() to get list of role handlers
This commit is contained in:
parent
3f4027f7b4
commit
690bc192d5
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class TaskQueueManager:
|
|||
|
||||
handlers = play.handlers
|
||||
for role in play.roles:
|
||||
handlers.extend(role._handler_blocks)
|
||||
handlers.extend(role.get_handler_blocks())
|
||||
|
||||
# Zero the dictionary first by removing any entries there.
|
||||
# Proxied dicts don't support iteritems, so we have to use keys()
|
||||
|
|
Loading…
Reference in a new issue