diff options
-rw-r--r-- | test-requirements.txt | 1 | ||||
-rw-r--r-- | tox.ini | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 7d6a0ad7..89434493 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,4 +7,5 @@ nose # LGPL flake8<2.6.0,>=2.5.4 # MIT pylint==1.4.5 # GPLv2 yamllint +ansible-lint bashate # Apache-2.0 @@ -1,5 +1,5 @@ [tox] -envlist = pep8,pylint,yamllint,bashate,py27 +envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27 [testenv] usedevelop = True @@ -38,6 +38,11 @@ files = commands = yamllint {[testenv:yamllint]files} +[testenv:ansiblelint] +basepython = python2.7 +commands = + ansible-lint ansible/site.yml + [testenv:py36] commands = nosetests functest_kubernetes |