More re-organizing for lint
This commit is contained in:
parent
235c7425de
commit
194d3fdd9e
5 changed files with 3 additions and 4 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -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
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
[defaults]
|
[defaults]
|
||||||
inventory = ./hosts
|
inventory = ./hosts
|
||||||
roles_path = ./roles
|
|
||||||
|
|
||||||
gathering = smart
|
gathering = smart
|
||||||
fact_caching = jsonfile
|
fact_caching = jsonfile
|
||||||
|
|
|
@ -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 --
|
||||||
|
|
|
@ -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 --
|
||||||
|
|
Loading…
Add table
Reference in a new issue