Run ansible-lint for all files not just roles

This commit is contained in:
Timo Makinen 2022-10-31 20:13:12 +00:00
parent f4675073a7
commit 6e13a4fbb6

View file

@ -2,7 +2,6 @@
set -eu
cd "$(dirname "$0")/../roles" || exit 1
cd "$(dirname "$0")/.." || exit 1
find . -mindepth 1 -maxdepth 1 -type d '!' -name ".*" -print0 | \
xargs -0 -t -n 1 ansible-lint -x 701 --
find . -name site.yml -print0 | xargs -0 -t -n 1 ansible-lint -x 701 -qs --