Add tox -eansible-functional job
Change-Id: Ica8813503c2692a41212266b9bca3fe74e5ed108 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
localhost
|
||||
[all]
|
||||
localhost ansible_connection=local
|
||||
|
||||
5
tox.ini
5
tox.ini
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user