Use get_handler_blocks() to get list of role handlers

pull/16611/head
James Cammarata 9 years ago
parent 3f4027f7b4
commit 690bc192d5

@ -124,7 +124,7 @@ class TaskQueueManager:
handlers = play.handlers handlers = play.handlers
for role in play.roles: 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. # Zero the dictionary first by removing any entries there.
# Proxied dicts don't support iteritems, so we have to use keys() # Proxied dicts don't support iteritems, so we have to use keys()

Loading…
Cancel
Save