Fix ansible-lint star expansion

Tox doesn't use bash, so to be able to expand the list of files
using the * character, we need to run ansible-lint under bash.

Change-Id: I413d17288d81882998ee58a156ba7abe53a592a0
This commit is contained in:
Riccardo Pittau 2020-11-23 11:21:13 +01:00
parent ae93b364e5
commit 5c1fd9ac2d

View File

@ -73,7 +73,7 @@ commands =
bash -c "source {envdir}/bin/activate && {toxinidir}/tools/test-molecule.sh {posargs}" bash -c "source {envdir}/bin/activate && {toxinidir}/tools/test-molecule.sh {posargs}"
[testenv:alint] [testenv:alint]
commands = ansible-lint ansible/*.yaml commands = /bin/bash -c "ansible-lint {toxinidir}/ansible/*.yml"
[testenv:ansible-syntax] [testenv:ansible-syntax]
commands = commands =