2021-03-19 12:07:44 +01:00
|
|
|
---
|
2019-11-18 14:04:40 +00:00
|
|
|
use_default_rules: true
|
|
|
|
skip_list:
|
2021-03-19 12:07:44 +01:00
|
|
|
# [E301] Commands should not change things if nothing needs doing
|
|
|
|
# TODO(mnasiadka): Fix tasks that fail this check in a later iteration
|
2022-09-26 11:40:57 +02:00
|
|
|
- no-changed-when
|
2021-03-19 12:07:44 +01:00
|
|
|
# [E503] Tasks that run when changed should likely be handlers
|
2022-09-26 11:40:57 +02:00
|
|
|
- no-handler
|
2021-03-19 12:07:44 +01:00
|
|
|
# [unnamed-task] All tasks should be named
|
|
|
|
# FIXME(mgoddard): Add names to all tasks
|
2021-03-11 09:10:16 +00:00
|
|
|
- unnamed-task
|
2022-02-14 16:15:49 +01:00
|
|
|
# disable experimental rules
|
|
|
|
- experimental
|
|
|
|
# Package installs should not use latest
|
|
|
|
- package-latest
|
|
|
|
# Most files should not contain tabs
|
|
|
|
- no-tabs
|
2022-04-07 13:19:41 +02:00
|
|
|
# NOTE(frickler): Agreed at Zed PTG not to use FQCN for builtin actions for now, due to
|
|
|
|
# conflicts with open patches and backports.
|
|
|
|
- fqcn-builtins
|
2022-09-26 10:16:53 +02:00
|
|
|
# Allow Jinja templating inside task and play names
|
|
|
|
- name[template]
|
2022-10-12 09:41:10 +02:00
|
|
|
# FQCNs again, now for module actions
|
|
|
|
- fqcn[action]
|
|
|
|
# role name check matching ^*$
|
|
|
|
- role-name
|