diff --git a/playbooks/check-syntax.sh b/playbooks/check-syntax.sh new file mode 100755 index 0000000..3d491b8 --- /dev/null +++ b/playbooks/check-syntax.sh @@ -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