Disable false ansiblelint warnings 77/69277/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:45:08 +0000 (13:45 +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 9625bf4..7284fc4 100644 (file)
--- 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
index ece4d1b..ed1b8ba 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
 networking-bgpvpn===9.0.0
 networking-sfc===7.0.0