diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-12-15 15:58:56 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-12-15 16:01:21 +0100 |
commit | e3d5138f69bbffdff063019dc35c4b760b2c9564 (patch) | |
tree | 2050895c59c3011ebcc6e5b0a57d078201209f23 /tox.ini | |
parent | 7206ac5bbdb6e8dc5a947a9fdc2300805f0b048c (diff) |
Verify the Ansible playbook via ansible-lint
Change-Id: I9e6778b935a0a8d6e76cb4f1f16ef08c811eee73
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |