From: Cédric Ollivier Date: Sat, 7 Dec 2019 12:38:47 +0000 (+0100) Subject: Disable false ansiblelint warnings X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F69277%2F1;p=functest.git Disable false ansiblelint warnings git commit has to be executed via shell module [1]. It also update ansible to conform with the latest changes in XtestingCI. [1] https://github.com/ansible/ansible/issues/50334 Change-Id: I3cc7a675eddabb0cbd9834a9e64fe7389a11865f Signed-off-by: Cédric Ollivier (cherry picked from commit 36acd696022081c06a4d5f25ac13ea50cc5f1d2a) --- diff --git a/tox.ini b/tox.ini index 9625bf447..7284fc496 100644 --- a/tox.ini +++ b/tox.ini @@ -60,7 +60,7 @@ commands = [testenv:ansiblelint] basepython = python2.7 commands = - ansible-lint ansible/site.yml + ansible-lint -x303 ansible/site.yml [testenv:py36] commands = nosetests functest/tests/unit diff --git a/upper-constraints.txt b/upper-constraints.txt index ece4d1b6c..ed1b8ba11 100644 --- a/upper-constraints.txt +++ b/upper-constraints.txt @@ -14,7 +14,7 @@ robotframework===3.0.2 robotframework-httplibrary===0.4.2 robotframework-requests===0.4.7 robotframework-sshlibrary===2.1.3;python_version=='2.7' -ansible===2.3.2.0 +ansible===2.9.2 xtesting===0.85.0 networking-bgpvpn===9.0.0 networking-sfc===7.0.0