Add tox -eansible-functional job

Change-Id: Ica8813503c2692a41212266b9bca3fe74e5ed108
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger
2015-11-16 16:00:20 -05:00
parent 22f9ee6199
commit 622cbcb1d3
2 changed files with 7 additions and 1 deletions

View File

@@ -1 +1,2 @@
localhost
[all]
localhost ansible_connection=local

View File

@@ -18,6 +18,11 @@ commands =
ansible-playbook --syntax-check -i tests/inventory \
-e rolename=$(basename $(pwd)) > /dev/null"
[testenv:ansible-functional]
changedir = tests
commands =
ansible-playbook -i inventory test.yaml -e "rolename={toxinidir} --sudo"
passenv = HOME
[testenv:venv]
commands = {posargs}