1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Use get_handler_blocks() to get list of role handlers

This commit is contained in:
James Cammarata 2016-07-06 12:29:02 -05:00
parent 3f4027f7b4
commit 690bc192d5

View file

@ -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()