++precommit-hooks/playbook-lint-check
This commit is contained in:
parent
2e154389de
commit
f139ea55b4
7
precommit-hooks/playbook-lint-check
Executable file
7
precommit-hooks/playbook-lint-check
Executable 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
|
Loading…
Reference in New Issue
Block a user