Add ability to run ansible-lint

Hopefully it will help debug ansible 2.3 related issues.
This commit is contained in:
John Garbutt 2017-09-05 10:03:27 +01:00 committed by Mark Goddard
parent 2b59ef4f9c
commit c4e75cc5b0
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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.