infra/deprecated/playbooks/check-syntax.sh

7 lines
153 B
Bash
Raw Permalink Normal View History

#!/bin/sh
for f in `find -name '*.yml'`; do
echo ansible-playbook -i hosts.ini --syntax-check $f
ansible-playbook -i hosts.ini --syntax-check $f
done