From b03d71a9c7df73712e5c0f289600639e2e2cc282 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 7 Dec 2019 14:15:02 +0100 Subject: Disable false ansiblelint warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git commit has to be executed via shell module [1]. it also fixes Functest branch [1] https://github.com/ansible/ansible/issues/50334 Change-Id: Ie4595f7bc2b54545b2f824f5ac3fb1d20340f13c Signed-off-by: Cédric Ollivier (cherry picked from commit abe7e05d27f7801b902821a85186dca0c9e563ae) --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 9aa84153..5e3a907e 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,bandit,perm [testenv] usedevelop = True deps = - -chttps://git.opnfv.org/functest/plain/upper-constraints.txt + -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=stable/hunter -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/rocky/upper-constraints.txt} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt @@ -35,7 +35,7 @@ commands = [testenv:ansiblelint] basepython = python2.7 -commands = ansible-lint ansible/site.yml +commands = ansible-lint -x303 ansible/site.yml [testenv:bandit] basepython = python2.7 -- cgit 1.2.3-korg