Improvement on setting VALID_INCLUDE_KEYWORDS on HandlerTaskInclude (#56801)

pull/56816/head
Matt Martz 6 years ago committed by GitHub
parent 584a32e028
commit 8bb3274711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save