fix: add 'handlers' to allowed prevlines for CheckTaskSeparation (#249)

This commit is contained in:
Robert Kaussow 2021-10-19 09:01:11 +02:00 committed by GitHub
parent 7278e11cd3
commit 81d33daa69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,14 @@ class CheckTaskSeparation(StandardBase):
prevline = "#file_start_marker" prevline = "#file_start_marker"
allowed_prevline = [ allowed_prevline = [
"---", "tasks:", "pre_tasks:", "post_tasks:", "block:", "rescue:", "always:" "---",
"handlers:",
"tasks:",
"pre_tasks:",
"post_tasks:",
"block:",
"rescue:",
"always:",
] ]
errors = task_errors + line_errors errors = task_errors + line_errors