Disable false ansiblelint warnings 76/69276/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 7 Dec 2019 12:38:47 +0000 (13:38 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 7 Dec 2019 12:43:46 +0000 (13:43 +0100)
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 <cedric.ollivier@orange.com>
(cherry picked from commit 36acd696022081c06a4d5f25ac13ea50cc5f1d2a)

tox.ini
upper-constraints.txt

diff --git a/tox.ini b/tox.ini
index c4d42c3..4fc8508 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -59,7 +59,7 @@ commands =
 [testenv:ansiblelint]
 basepython = python3.6
 commands =
-  ansible-lint ansible/site.yml
+  ansible-lint -x303 ansible/site.yml
 
 [testenv:py36]
 commands = nosetests functest/tests/unit
index bf18470..c77f804 100644 (file)
@@ -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
 git+https://git.openstack.org/openstack/networking-bgpvpn@10.0.0#egg=networking_bgpvpn
 git+https://git.openstack.org/openstack/networking-sfc@8.0.0#egg=networking_sfc