diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-12-19 09:50:53 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-03-28 07:43:26 +0100 |
commit | 06f1907ced66589465a09e51216b78eb318ee187 (patch) | |
tree | 4a74fb80269d380fb918350b568b5f7a1c5c90b7 /tox.ini | |
parent | 6e32d47d1d3a9880c987dab50852c64ef763a364 (diff) |
Verify Ansible playbooks via ansible-lint
Change-Id: Id51c2932e126ce1b29e43c95cc786101675bfa99
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 = pep8,pylint,yamllint,bashate,py27 +envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27 [testenv] usedevelop = True @@ -37,6 +37,11 @@ files = commands = yamllint {[testenv:yamllint]files} +[testenv:ansiblelint] +basepython = python2.7 +commands = + ansible-lint ansible/site.yml + [testenv:py36] commands = nosetests functest_kubernetes |