Exclude playbooks/legacy from bashate linter
playbooks/legacy will contain a bunch of automatically migrated
bash things that we don't necessarily expect will be up to bashate
standards. Let's not run bashate on those.
# line breaks occur in long conditionals.
ROOT=$(readlink -fn $(dirname $0)/.. )
-find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* \
+find $ROOT -not -path '*playbooks/legacy/*' -and -not -wholename \*.tox/\* \
+ -and -not -wholename \*.test/\* \
-and -name \*.sh -print0 | xargs -0 bashate -v --ignore E006,E011
