Fix InvocationError during ansible-lint run.

Change-Id: I4fa94e11101773c1e2b0ac40d0a256dbac963588
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud 2016-08-09 17:04:19 +02:00
parent 867342a314
commit c407152ff9
1 changed files with 1 additions and 2 deletions

View File

@ -19,8 +19,7 @@ commands = python setup.py build_sphinx
whitelist_externals = bash
commands =
flake8
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \
ansible-lint"
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -execdir ansible-lint \{\} \;"
[testenv:venv]
commands = {posargs}