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> | 2018-12-19 09:51:22 +0100 |
commit | dded686c3f65aacf0e8e53b2956502973ede2138 (patch) | |
tree | 9d28d9d586d76dfb1c86d10dc216e026a9e527fe /tox.ini | |
parent | 0efb348bc2e0554c4efb7300f4cdb5c1851549d3 (diff) |
Verify Ansible playbooks via ansible-lint
Change-Id: Id51c2932e126ce1b29e43c95cc786101675bfa99
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 12fbaf7fa7592a2ef66b0362230a5a57b9052984)
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 @@ -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 |