diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-12-18 21:30:53 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-12-18 21:48:45 +0100 |
commit | dc10a3a0cfb7e5c7957c27738dbac52ef6a34e34 (patch) | |
tree | ba89898c92470a566f05b847c98ab5ebc90b3321 /tox.ini | |
parent | 09fe502d8ef766a24f3ce1c012046d29dbbb109f (diff) |
Verify Ansible playbooks via ansible-lint
Change-Id: Id8b4553f5d36a52086433f00ce9f846a30212d66
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 471d030673b2008502c3f5d83d1a16743695bcf4)
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 [testenv] usedevelop = True @@ -88,6 +88,11 @@ files = commands = yamllint -s {[testenv:yamllint]files} +[testenv:ansiblelint] +basepython = python2.7 +commands = + ansible-lint ansible/site.yml + [testenv:py36] dirs = functest/tests/unit/ci |