mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-23 00:50:48 +00:00
Add an ansible-lint configuration file
This file is copied from cisagov/skeleton-ansible-role#85 and tweaked to pass pre-commit. See here for for a list of the elements that can exist in this file: https://ansible-lint.readthedocs.io/en/latest/configuring.html Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
This commit is contained in:
parent
b78b832269
commit
a3c5aa71cf
1 changed files with 22 additions and 0 deletions
22
.ansible-lint
Normal file
22
.ansible-lint
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
# See https://ansible-lint.readthedocs.io/en/latest/configuring.html
|
||||||
|
# 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/en/latest/rules.html
|
||||||
|
- 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
|
||||||
|
# ansible-lint doesn't like the role name in this playbook, but it's
|
||||||
|
# what molecule requires
|
||||||
|
- molecule/default/converge.yml
|
||||||
|
# These two are Molecule configuration files, not Ansible playbooks
|
||||||
|
- molecule/default/molecule-no-systemd.yml
|
||||||
|
- molecule/default/molecule-with-systemd.yml
|
||||||
|
use_default_rules: true
|
Loading…
Reference in a new issue