#!/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