+ safety script to avoid breaking things later

This commit is contained in:
shockrah 2021-11-25 16:50:39 -08:00
parent 15b9a84d64
commit 6579935310

6
playbooks/check-syntax.sh Executable file
View File

@ -0,0 +1,6 @@
#!/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