Improvement on setting VALID_INCLUDE_KEYWORDS on HandlerTaskInclude (#56801)

This commit is contained in:
Matt Martz 2019-05-22 15:24:25 -05:00 committed by GitHub
parent 584a32e028
commit 8bb3274711
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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