-
Notifications
You must be signed in to change notification settings - Fork 32
/
.ansible-lint
67 lines (60 loc) · 1.75 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
---
# .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/
- .readthedocs.yaml
- build/release_collection.yml
- keys/
- inventories/
- secrets/
- tests/
- roles/to_remove/
- requirements.yml
- playbooks/14_core_letsencrypt.yml
- molecule.yml
- molecule/
- build/
- .readthedocs.yaml
- roles/cloudalchemy.prometheus/
- roles/stage0/files/scaleway_multi/
- roles/vault/molecule/default/_vars.yml
parseable: true
quiet: false
verbosity: 1
mock_roles:
- rtnp.galaxie_clans.clan_host
- rtnp.galaxie_clans.host
- rtnp.galaxie_clans.monitor
- rtnp.galaxie_clans.rproxy
- rtnp.galaxie_clans.container
- rtnp.galaxie_clans.system_base
# 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
- var-naming[no-role-prefix]
# 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