Fix InvocationError during ansible-lint run.
Change-Id: I4fa94e11101773c1e2b0ac40d0a256dbac963588 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
parent
867342a314
commit
c407152ff9
3
tox.ini
3
tox.ini
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue