[SEBA-459]
Ignore ansible-lint E204 line length rule as it can't be selectively overridden
Change-Id: Ia25cead1c5c35f97c161346f101b6435479e6a0d
diff --git a/jjb/shell/ansiblelint.sh b/jjb/shell/ansiblelint.sh
index f97d186..930c09f 100755
--- a/jjb/shell/ansiblelint.sh
+++ b/jjb/shell/ansiblelint.sh
@@ -30,7 +30,9 @@
while IFS= read -r -d '' yf
do
echo "==> CHECKING: ${yf}"
- ansible-lint -p "${yf}"
+ # Ignore line length limit (E204) as it can't (as of v4.0.1) be
+ # overridden with the skip_ansible_lint tag
+ ansible-lint -x 204 -p "${yf}"
rc=$?
if [[ $rc != 0 ]]; then
echo "==> LINTING FAIL: ${yf}"