]> git.phdru.name Git - ansible.git/blob - playbooks/logcheck.sh
Update(logcheck): Update `local-spamassassin`
[ansible.git] / playbooks / logcheck.sh
1 #! /bin/sh
2 set -e
3 cd "`dirname \"$0\"`"
4
5 git update-index -q --refresh
6 if ! git diff-index --quiet HEAD || test -n "`git ls-files --others`" ; then
7     echo "The tree is dirty, aborting..." >&2
8     exit 1
9 fi
10
11 (cd ../.. && exec distribute -aD ansible)
12 exec ./run-playbook logcheck.yaml