-
Notifications
You must be signed in to change notification settings - Fork 1
/
.ansible-lint
50 lines (43 loc) · 1.03 KB
/
.ansible-lint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
## @see https://ansible-lint.readthedocs.io/configuring/
use_default_rules: true
## 除外するディレクトリ/ファイル
# exclude_paths:
# - .cache/
# - .github/
# - .devcontainer/
# - tests/
## @see https://ansible-lint.readthedocs.io/rules/
## 無効にするルール
skip_list:
- role-name
- name[casing]
## 警告として扱うルール
warn_list:
## ansible-lint default
- avoid-implicit
- experimental
- fqcn[action]
- fqcn[redirect]
- jinja[spacing]
- name[play]
- name[prefix]
- warning[empty-playbook]
- role-name[path]
## yamllint default
- yaml[comments]
- yaml[comments-indentation]
- yaml[document-start]
- yaml[truthy]
## custom
- no-changed-when
- no-handler
## autofix実行時に適用するルール
# write_list:
# - all
# List of additional collections to allow in only-builtins rule.
# only_builtins_allow_collections:
# - example_ns.example_collection
# List of additions modules to allow in only-builtins rule.
# only_builtins_allow_modules:
# - example_module