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 8b6f767a..0cfead31 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,3 +11,4 @@ sphinx-rtd-theme yamllint doc8 # Apache-2.0 bashate # Apache-2.0 +ansible-lint @@ -1,5 +1,5 @@ [tox] -envlist = docs,pep8,pylint,yamllint,bashate,py27,perm,cover +envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,perm,cover skipsdist = True [testenv] @@ -43,6 +43,11 @@ files = commands = yamllint -s {[testenv:yamllint]files} +[testenv:ansiblelint] +basepython = python2.7 +commands = + ansible-lint ansible/site.yml + [testenv:py36] commands = nosetests xtesting/tests/unit |