-
Notifications
You must be signed in to change notification settings - Fork 15
/
.ansible-lint
30 lines (28 loc) · 1.58 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
---
exclude_paths:
- tpa-venv/
enable_list: []
warn_list: []
skip_list:
- args[module] # Validating module arguments.
- command-instead-of-module # Using command rather than module.
- experimental # all rules tagged as experimental
- fqcn[action-core] # Use FQCN for builtin actions.
- ignore-errors # Use failed_when and specify error conditions instead of using ignore_errors.
- jinja[invalid] # Rule that looks inside jinja2 templates.
- jinja[spacing] # Rule that looks inside jinja2 templates.
- key-order[task] # Ensure specific order of keys in mappings.
- name[missing] # Rule for checking task and play names.
- name[template] # Rule for checking task and play names.
- no-changed-when # Commands should not change things if nothing needs doing.
- no-free-form # Rule for detecting discouraged free-form syntax for action modules.
- no-handler # Tasks that run when changed should likely be handlers.
- package-latest # Package installs should not use latest.
- risky-file-permissions # File permissions unset or incorrect.
- risky-shell-pipe # Shells that use pipes should set the pipefail option.
- role-name[path] # Role name {0} does not match ``^[a-z][a-z0-9_]*$`` pattern.
- schema[requirements] # Perform JSON Schema Validation for known lintable kinds.
- var-naming # All variables should be named using only lowercase and underscores.
# This rule tries to validate platforms/{common,aws}/inventory/*.yml
# as static inventory files (but they're task lists).
- schema[inventory] # Perform JSON Schema Validation for known lintable kinds.