Disable false ansiblelint warnings 85/69285/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 7 Dec 2019 13:15:02 +0000 (14:15 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 7 Dec 2019 13:15:02 +0000 (14:15 +0100)
git commit has to be executed via shell module [1].

[1] https://github.com/ansible/ansible/issues/50334

Change-Id: Ie4595f7bc2b54545b2f824f5ac3fb1d20340f13c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 95a119f..826ca88 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -36,7 +36,7 @@ commands =
 
 [testenv:ansiblelint]
 basepython = python3.7
-commands = ansible-lint ansible/site.yml
+commands = ansible-lint -x303 ansible/site.yml
 
 [testenv:bandit]
 basepython = python3.7