-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ansible-lint
80 lines (72 loc) · 1.34 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# https://ansible-lint.readthedocs.io
---
exclude_paths: []
use_default_rules: true
enable_list:
# Ansible `min` profile
- internal-error
- load-failure
- parser-error
- syntax-check
# Ansible `basic` profile
- command-instead-of-module
- command-instead-of-shell
- deprecated-bare-vars
- deprecated-local-action
- deprecated-module
- inline-env-var
- key-order
- literal-compare
- jinja
- no-free-form
- no-jinja-when
- no-tabs
- partial-become
- playbook-extension
- role-name
- schema
- name
- var-naming
- yaml
# Ansible `moderate` profile
- name[template]
- name[imperative]
- name[casing]
- spell-var-name
# Ansible `safety` profile
- avoid-implicit
- latest
- package-latest
- risky-file-permissions
- risky-octal
- risky-shell-pipe
# Ansible `shared` profile
- galaxy
- ignore-errors
- layout
- meta-incorrect
- meta-no-tags
- meta-video-links
- meta-version
- meta-runtime
- no-changed-when
- no-handler
- no-relative-paths
- max-block-depth
- max-tasks
- unsafe-loop
# Ansible `production` profile
- avoid-dot-notation
- sanity
- fqcn
- import-task-no-when
- meta-no-dependencies
- single-entry-point
- use-loop
# Custom rules
- args
- empty-string-compare
- fqcn-builtins
- loop-var-prefix
- no-log-password
- no-same-owner