-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy path.ansible-lint
More file actions
37 lines (32 loc) · 1.06 KB
/
.ansible-lint
File metadata and controls
37 lines (32 loc) · 1.06 KB
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
# Ansible-lint configuration
exclude_paths:
- .cache/
- .github/
- tests/legacy-lxd/
- tests/
skip_list:
- 'package-latest' # Package installs should not use latest - needed for updates
- 'experimental' # Experimental rules
- 'fqcn[action]' # Use FQCN for module actions - gradual migration
- 'fqcn[action-core]' # Use FQCN for builtin actions - gradual migration
- 'var-naming[no-role-prefix]' # Variable naming
- 'var-naming[pattern]' # Variable naming patterns
- 'no-free-form' # Avoid free-form syntax - some legacy usage
- 'key-order[task]' # Task key order
- 'jinja[spacing]' # Jinja2 spacing
- 'name[casing]' # Name casing
- 'yaml[document-start]' # YAML document start
- 'role-name' # Role naming convention - too many cloud-* roles
- 'no-handler' # Handler usage - some legitimate non-handler use cases
warn_list:
- no-changed-when
- yaml[line-length]
- risky-file-permissions
- name[missing]
# Enable additional rules
enable_list:
- no-log-password
- no-same-owner
- partial-become
verbosity: 1
# vim: ft=yaml