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:
parent
3f4027f7b4
commit
690bc192d5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue