From 8bb3274711535f7263ea94ead6301ba8af0b3379 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Wed, 22 May 2019 15:24:25 -0500 Subject: [PATCH] Improvement on setting VALID_INCLUDE_KEYWORDS on HandlerTaskInclude (#56801) --- lib/ansible/playbook/handler_task_include.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/handler_task_include.py b/lib/ansible/playbook/handler_task_include.py index 90290f481b4..641e3338489 100644 --- a/lib/ansible/playbook/handler_task_include.py +++ b/lib/ansible/playbook/handler_task_include.py @@ -26,7 +26,7 @@ from ansible.playbook.task_include import TaskInclude class HandlerTaskInclude(Handler, TaskInclude): - VALID_INCLUDE_KEYWORDS = frozenset(('listen',) + tuple(TaskInclude.VALID_INCLUDE_KEYWORDS)) + VALID_INCLUDE_KEYWORDS = TaskInclude.VALID_INCLUDE_KEYWORDS.union(('listen',)) @staticmethod def load(data, block=None, role=None, task_include=None, variable_manager=None, loader=None):