-
Notifications
You must be signed in to change notification settings - Fork 2
/
.ansible-lint
46 lines (42 loc) · 1.38 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
---
exclude_paths:
- .git
- __pycache__
- .venv
- collections/ansible_collections/kubernetes/core
parseable: true
skip_list:
- package-latest
# we do want to do that, thanks
- role-name[path]
# if /.changed/ is used, even if you loop on a registered variable
# and happens to check item.changed, which cannot be converted in to
# a handler, this rule is not clever enough to understand
- no-handler
# https://github.com/ansible/ansible-lint/issues/457
# https://github.com/ansible/ansible/pull/51030
- empty-string-compare
- meta-no-tags
# let's wait for a better collections resolution configuration
# (see https://github.com/ansible/ansible/issues/68457#issuecomment-613697236)
- fqcn-builtins
# this seems to flag incorrect stuff:
# https://github.com/ansible/ansible-lint/issues/2208
# https://github.com/ansible/ansible-lint/issues/2209
- var-spacing
# temporary blocked so code can be merged
- jinja[invalid]
- experimental
# https://github.com/ansible/ansible-lint/issues/2501
- template-instead-of-copy
# pedandic/useless
- name[casing]
- name[template]
- key-order[task]
- no-changed-when
# TODO: would be safer to work on this
# (experienced conflicts when running chained plays in complex setups)
- var-naming[no-role-prefix]
- var-naming[no-reserved]
# offline mode disables installation of requirements.yml
#offline: true