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:
parent
ae93b364e5
commit
5c1fd9ac2d
2
tox.ini
2
tox.ini
@ -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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user