forked from redhat-cop/aap_configuration_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ansible-lint.yml
39 lines (32 loc) · 1.13 KB
/
.ansible-lint.yml
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
---
# Ansible Linter rules
# Mock modules or roles in order to pass ansible-playbook --syntax-check
mock_modules:
- ansible.controller.controller_api
# Exclude paths from linter
exclude_paths:
- '.github/'
- 'changelogs/'
- 'playbooks/install_configure.yml'
- 'aap_configuration_template/playbooks/install_configure.yml'
# Make output parsable
parseable: true
# Set output to quiet
quiet: false
# Path to rules dir
# rulesdir:
# Ansible Linter rules
skip_list:
- yaml[colons] # Violations reported by yamllint.
- yaml[line-length] # Violations reported by yamllint.
- yaml[new-line-at-end-of-file] # Violations reported by yamllint.
warn_list: # or 'skip_list' to silence them completely
- git-latest # Allow for newest git version
- package-latest # Allow newest package version
- risky-file-permissions # File permissions unset or incorrect.
- risky-shell-pipe # Shells that use pipes should set the pipefail option.
- template-instead-of-copy # Templated files should use template instead of copy
- command-instead-of-shell # Use shell only when shell functionality is required.
# Set verbosity
verbosity: 1
...