From a99f033a08d9753d1ae372483eb8b30273dcb326 Mon Sep 17 00:00:00 2001 From: Mohammed Naser <mnaser@vexxhost.com> Date: Sun, 17 Jun 2018 10:14:59 -0400 Subject: [PATCH] Switch ansible-lint to using multiple -x options ansible-lint 3.4.22 seems to have introduced a change in behaviour in how it parses the excludes (-x) back in March[1]. However, it seems that the new release never got pushed to PyPi until now. This has resulted in the linting jobs failing, so switching the format to be the new one instead of pinning to an older release. [1]: https://github.com/willthames/ansible-lint/commit/96d0a0bc Change-Id: I446e734364298e90a64063e811343aa11430765f --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4c24aa0132..127bee665f 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,8 @@ commands = python {toxinidir}/tools/irc_checks.py # Ansible Lint Check bash -c "find playbooks -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \ - ansible-lint -x ANSIBLE0004,ANSIBLE0006,ANSIBLE0007,ANSIBLE0011,ANSIBLE0012,ANSIBLE0013,ANSIBLE0015" + ansible-lint -x ANSIBLE0004 -x ANSIBLE0006 -x ANSIBLE0007 -x ANSIBLE0011 \ + -x ANSIBLE0012 -x ANSIBLE0013 -x ANSIBLE0015" [testenv:venv] commands = {posargs}