From bf16abfd7c88c9ffb3f8dac551ad903a7dd7c77c Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 28 Sep 2017 14:38:29 -0500 Subject: [PATCH] Stop running ansible-lint on playbooks It can't handle the following form: shell: cmd: | something Which is both valid and required. Change-Id: I14896450b16f8e65128804b44a643da63580812d --- tox.ini | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tox.ini b/tox.ini index 4e700b53..01636e3c 100644 --- a/tox.ini +++ b/tox.ini @@ -27,11 +27,6 @@ setenv = whitelist_externals = bash commands = flake8 {posargs} - # Ansible Lint Check - # NOTE(pabelanger): Ignore the following checks: - # ANSIBlE0012: Commands should not change things if nothing needs doing - bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -not -path './legacy/*' -exec \ - ansible-lint -x ANSIBLE0012 \{\} +" # Ansible Syntax Check bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -exec \ ansible-playbook --syntax-check -i {toxinidir}/tests/inventory \{\} + > /dev/null"