Add ability to run ansible-lint
Hopefully it will help debug ansible 2.3 related issues.
This commit is contained in:
parent
2b59ef4f9c
commit
c4e75cc5b0
@ -8,3 +8,4 @@ coverage>=4.0 # Apache-2.0
|
|||||||
doc8 # Apache-2.0
|
doc8 # Apache-2.0
|
||||||
sphinx>=1.5.1 # BSD
|
sphinx>=1.5.1 # BSD
|
||||||
oslotest>=1.10.0 # Apache-2.0
|
oslotest>=1.10.0 # Apache-2.0
|
||||||
|
ansible-lint>=3.0.0 # MIT
|
||||||
|
3
tox.ini
3
tox.ini
@ -34,6 +34,9 @@ commands = python setup.py build_sphinx
|
|||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
|
[testenv:alint]
|
||||||
|
commands = ansible-lint ansible/*.yaml
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# E123, E125 skipped as they are invalid PEP-8.
|
# E123, E125 skipped as they are invalid PEP-8.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user