Run ansible-lint for all files not just roles
This commit is contained in:
parent
f4675073a7
commit
6e13a4fbb6
1 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
cd "$(dirname "$0")/../roles" || exit 1
|
cd "$(dirname "$0")/.." || exit 1
|
||||||
|
|
||||||
find . -mindepth 1 -maxdepth 1 -type d '!' -name ".*" -print0 | \
|
find . -name site.yml -print0 | xargs -0 -t -n 1 ansible-lint -x 701 -qs --
|
||||||
xargs -0 -t -n 1 ansible-lint -x 701 --
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue