Disable false ansiblelint warnings 74/69274/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:40:21 +0000 (13:40 +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>
tox.ini
upper-constraints.txt

diff --git a/tox.ini b/tox.ini
index 5cc3851..cc71279 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -59,7 +59,7 @@ commands =
 [testenv:ansiblelint]
 basepython = python3.7
 commands =
 [testenv:ansiblelint]
 basepython = python3.7
 commands =
-  ansible-lint ansible/site.yml
+  ansible-lint -x303 ansible/site.yml
 
 [testenv:py37]
 commands = nosetests functest/tests/unit
 
 [testenv:py37]
 commands = nosetests functest/tests/unit
index 76a5d9a..b4f4ddc 100644 (file)
@@ -14,7 +14,7 @@ robotframework===3.1.1
 robotframework-httplibrary===0.4.2
 robotframework-requests===0.5.0
 robotframework-sshlibrary===3.3.0
 robotframework-httplibrary===0.4.2
 robotframework-requests===0.5.0
 robotframework-sshlibrary===3.3.0
-ansible===2.3.2.0
+ansible===2.9.2
 xtesting===0.85.0
 bandit===1.1.0
 ruamel.yaml.jinja2==0.2.2
 xtesting===0.85.0
 bandit===1.1.0
 ruamel.yaml.jinja2==0.2.2