diff --git a/tox.ini b/tox.ini index 14d62dc..844f5ba 100755 --- a/tox.ini +++ b/tox.ini @@ -44,3 +44,13 @@ commands = python setup.py build_sphinx [testenv:releasenotes] commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html + +[testenv:k8s] +deps = + {[testenv:ansible]deps} +setenv = + {[testenv:ansible]setenv} + K8S_DIR = {toxinidir}/workloads/ansible/shade/k8s + ANSIBLE_INVENTORY = {env:K8S_DIR}/hosts + ANSIBLE_CONFIG = {env:K8S_DIR}/ansible.cfg +commands = ansible-playbook -e "action=apply {posargs}" {env:K8S_DIR}/site.yml