Adding Netbox

This commit is contained in:
Patrick Toal
2019-05-06 00:34:45 -04:00
parent 832502de34
commit 6e2205a046
278 changed files with 12767 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = linters,py27,py36,py37
[testenv]
install_command = pip install {opts} {packages}
commands =
ansible-playbook -i tests/inventory tests/test.yml
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
setenv =
ANSIBLE_CALLBACK_PLUGINS = {envsitepackagesdir}/ara/plugins/callbacks
[testenv:linters]
basepython = python3
commands =
yamllint -s .
flake8 {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
# TODO(pabelanger): Follow sane flake8 rules for galaxy and sync across all of
# ansible-network.
ignore = E125,E402
max-line-length = 160
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg