Fix ansible-lint
The ansible-lint testing fails silently with: 2020-09-23 20:08:26.289902 | ubuntu-bionic | [2425] /home/zuul/src/opendev.org/openstack/project-config$ /bin/bash -c 'find roles -maxdepth 1 -mindepth 1 -type d -printf "%%p/\n" | xargs -t -n1 ansible-lint' 2020-09-23 20:08:26.294180 | ubuntu-bionic | ansible-lint %p/ 2020-09-23 20:08:26.908714 | ubuntu-bionic | WARNING Couldn't open %p - No such file or directory [try:0] 2020-09-23 20:08:27.910102 | ubuntu-bionic | WARNING Couldn't open %p - No such file or directory [try:1] 2020-09-23 20:08:28.911658 | ubuntu-bionic | WARNING Couldn't open %p - No such file or directory [try:2] Fix invocation. Change-Id: I5d701506c82701970f818520672c2d4ff1885629
This commit is contained in:
parent
8ebe881552
commit
01dc9e1039
2
tox.ini
2
tox.ini
|
@ -40,7 +40,7 @@ commands =
|
|||
# Ansible lint
|
||||
bash -c "find playbooks -type f -regex '.*.ya?ml' -print0 | \
|
||||
xargs -t -n1 -0 ansible-lint"
|
||||
bash -c 'find roles -maxdepth 1 -mindepth 1 -type d -printf "%%p/\n" | \
|
||||
bash -c 'find roles -maxdepth 1 -mindepth 1 -type d -printf "%p/\n" | \
|
||||
xargs -t -n1 ansible-lint'
|
||||
# Ansible Syntax Check
|
||||
bash -c "find playbooks -type f -regex '.*.ya?ml' -exec \
|
||||
|
|
Loading…
Reference in New Issue