-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ansible-lint
23 lines (18 loc) · 1.03 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
---
# .ansible-lint
profile: production # min, basic, moderate, safety, shared, production
# Enable checking of loop variable prefixes in roles
loop_var_prefix: "^(__|{role}_)"
# Enforce variable names to follow pattern below, in addition to Ansible own
# requirements, like avoiding python identifiers. To disable add `var-naming`
# to skip_list.
var_naming_pattern: "^[a-z_][a-zA-Z0-9_]*$"
# Ansible-lint is able to recognize and load skip rules stored inside `.ansible-lint-ignore` (or `.config/ansible-lint-ignore.txt`) files.
# To skip a rule just enter filename and tag, like "playbook.yml package-latest" on a new line.
# Optionally you can add comments after the tag, prefixed by "#". We discourage the use of skip_list below because that will hide violations from the output.
# When putting ignores inside the ignore file, they are marked as ignored, but still visible, making it easier to address later.
skip_list:
- jinja[spacing]
- yaml[colons]
# Offline mode disables installation of requirements.yml and schema refreshing
offline: true