-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.ansible-lint
34 lines (34 loc) · 1.33 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
---
# See https://ansible-lint.readthedocs.io/configuring/ for a list of
# the configuration elements that can exist in this file.
enable_list:
# Useful checks that one must opt-into. See here for more details:
# https://ansible-lint.readthedocs.io/rules/
- fcqn-builtins
- no-log-password
- no-same-owner
exclude_paths:
# This exclusion is implicit, unless exclude_paths is defined
- .cache
# Seems wise to ignore this too
- .github
kinds:
# This will force our systemd specific molecule configurations to be treated
# as plain yaml files by ansible-lint. This mirrors the default kind
# configuration in ansible-lint for molecule configurations:
# yaml: "**/molecule/*/{base,molecule}.{yaml,yml}"
- yaml: "**/molecule/*/molecule-{no,with}-systemd.yml"
# These roles are defined in this repository, do not overlap with existing
# cisagov/ansible-role-* roles, and are not available in the paths available by
# default to Ansible and Ansible-lint. I was unable to find a way to append to
# this list instead of completely overwriting it and overwriting will only
# generate additional problems given the structure of this repository and the
# fact that Ansible configurations are in multiple sub-directories.
mock_roles:
- cyhy_dashboard
- cyhy_ops
- cyhy_reporter
- groups
- mgmt_ops
- swap
use_default_rules: true