Merge "Switch ansible-lint to using multiple -x options"

This commit is contained in:
Zuul 2018-06-18 13:25:11 +00:00 committed by Gerrit Code Review
commit 3fb3c99a6e
1 changed files with 2 additions and 1 deletions

View File

@ -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}