forked from wescale/hashistack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ansible-lint
51 lines (45 loc) · 1.31 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
---
# .ansible-lint
#
# Reference documentation:
# https://ansible-lint.readthedocs.io/en/latest/configuring.html#configuration-file
#
exclude_paths:
- .cache/ # implicit unless exclude_paths is defined in config
- .github/
- .direnv/
- keys/
- secrets/
- tests/
- roles/to_remove/
- requirements.yml
- molecule.yml
- molecule/
parseable: true
quiet: false
verbosity: 1
mock_roles:
- rtnp.galaxie_clans.monitor
# Enable checking of loop variable prefixes in roles
loop_var_prefix: "_current_"
use_default_rules: true
# This makes linter to fully ignore rules/tags listed below
skip_list:
- fqcn-builtins
- meta-no-info # No 'galaxy_info' found
- no-changed-when # Commands should not change things if nothing needs doing
- no-tabs # Most files should not contain tabs
- role-name # Role name does not match ``^[a-z][a-z0-9_]+$`` pattern
# Any rule that has the 'opt-in' tag will not be loaded unless its 'id' is
# mentioned in the enable_list:
enable_list:
- no-log-password # opt-in
- no-same-owner # opt-in
- yaml
# This makes the linter display but not fail for rules/tags listed below:
warn_list:
- skip_this_tag
- git-latest
- experimental # experimental is included in the implicit list
# Offline mode disables installation of requirements.yml
offline: true