forked from redhat-partner-solutions/crucible
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ansible-lint
More file actions
21 lines (18 loc) · 770 Bytes
/
Copy path.ansible-lint
File metadata and controls
21 lines (18 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
exclude_paths:
- docs/
- requirements.yml
- .cache/
- .github/
enable_list:
- no-log-password
- no-same-owner
skip_list:
- literal-compare # Allow explicit comparison to True or False
- meta-no-info # Allow omitting galaxy info.
- ignore-errors # Allow ignore-errors: Linter is stupid and permits `failed_when: false` but disallows `ignore-errors`.
- no-changed-when
# These rules would be in the `warn_list` except that ansible-lint doesn't handle warnings sensibly.
# warn_list:
- var-naming # There's a LOT of uppercase vars, Consider enabling this rule later later
- command-instead-of-shell # allow using `shell` as several required behaviours are not in modules.
- empty-string-compare # empty string compare is OK when done correctly