++precommit-hooks/playbook-lint-check

This commit is contained in:
project2501 2024-08-22 15:30:41 -05:00
parent 2e154389de
commit f139ea55b4

View File

@ -0,0 +1,7 @@
#!/bin/bash
# pre-commit hook to use ansible-lint to check our playbooks.
for file in `find ../playbooks/ -type f`; do
ansible-lint "$file"
done