Merge "Add tox -eansible-lint support"
This commit is contained in:
commit
31514496ad
|
@ -0,0 +1 @@
|
|||
.tox/
|
|
@ -0,0 +1 @@
|
|||
ansible
|
|
@ -0,0 +1 @@
|
|||
ansible-lint
|
|
@ -0,0 +1,16 @@
|
|||
[tox]
|
||||
minversion = 1.6
|
||||
envlist = ansible-lint
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:ansible-lint]
|
||||
whitelist_externals = bash
|
||||
commands =
|
||||
bash -c "find . -type f -regex '.*.y[a]?ml' -execdir ansible-lint \{\} \;"
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
Loading…
Reference in New Issue