mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-23 00:50:48 +00:00
Merge pull request #93 from cisagov/improvement/update_ansible-lint_pre-commit_version
Update the `ansible-lint` Version in the pre-commit Configuration
This commit is contained in:
commit
14d2edb6bc
2 changed files with 23 additions and 3 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
|
|
@ -105,9 +105,7 @@ repos:
|
||||||
|
|
||||||
# Ansible hooks
|
# Ansible hooks
|
||||||
- repo: https://github.com/ansible-community/ansible-lint
|
- repo: https://github.com/ansible-community/ansible-lint
|
||||||
# This is intentionally being held back because of issues in v5 per
|
rev: v5.2.1
|
||||||
# https://github.com/cisagov/skeleton-ansible-role/issues/69
|
|
||||||
rev: v4.3.7
|
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
# files: molecule/default/playbook.yml
|
# files: molecule/default/playbook.yml
|
||||||
|
|
Loading…
Reference in a new issue