More re-organizing for lint

This commit is contained in:
Timo Makinen 2022-01-30 00:52:03 +00:00
parent 235c7425de
commit 194d3fdd9e
5 changed files with 3 additions and 4 deletions

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "roles"] [submodule "roles"]
path = roles path = playbooks/roles
url = https://git.foo.sh/ansible-software.git url = https://git.foo.sh/ansible-software.git

View file

@ -1,6 +1,5 @@
[defaults] [defaults]
inventory = ./hosts inventory = ./hosts
roles_path = ./roles
gathering = smart gathering = smart
fact_caching = jsonfile fact_caching = jsonfile

View file

@ -2,5 +2,5 @@
cd "$(dirname "$0")/.." || exit 1 cd "$(dirname "$0")/.." || exit 1
find . -type f -name "*.yml" -not -path "./roles/*" -print0 | \ find . -type f -name "*.yml" -not -path "./playbooks/roles/*" -print0 | \
xargs -0 -t -n 1 yamllint -s -- xargs -0 -t -n 1 yamllint -s --

View file

@ -2,5 +2,5 @@
cd "$(dirname "$0")/.." || exit 1 cd "$(dirname "$0")/.." || exit 1
find . -name "*.yml" -not -path "./roles/*" -print0 | \ find . -name "*.yml" -not -path "./playbooks/roles/*" -print0 | \
xargs -0 -t -n 1 -- ansible-lint -x meta-no-info -- xargs -0 -t -n 1 -- ansible-lint -x meta-no-info --