infra/deprecated/playbooks/check-syntax.sh

7 lines
153 B
Bash
Executable File

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