3 envlist=ansible-lint,ansible-syntax,flake8,dashboards
9 install_command = pip install --upgrade {opts} {packages}
12 commands=ansible-lint -x ANSIBLE0010,ANSIBLE0012,ANSIBLE0017,701 ansible/playbook.yml
14 [testenv:ansible-syntax]
15 install_command = pip install --upgrade {opts} {packages}
20 ansible-playbook -i '127.0.0.1,' playbook.yml --syntax-check -vv
23 install_command = pip install --upgrade {opts} {packages}
26 commands=flake8 --select=F,E9 {posargs:cephmetrics.py dashUpdater.py collectors tests}
28 # Integration tests must operate against a live deployment. To run, simply:
29 # tox -e integration /path/to/inventory
30 # NOTE: A current limitation of these tests is that they assume that defaults
31 # were used for things like ports, usernames, etc. They do, however,
32 # support devel_mode=True/False.
34 install_command = pip install --upgrade {opts} {packages}
42 py.test -v -n auto --connection=ansible --ansible-inventory {posargs} ./roles/
45 install_command = pip install --upgrade {opts} {packages}