Collection of Ansible playbooks to bring up an OpenStack Infra
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tox.ini 757B

123456789101112131415161718
  1. # Tox (http://tox.testrun.org/) is a tool for running tests
  2. # in multiple virtualenvs. This configuration file will run the
  3. # test suite on all supported python versions. To use it, "pip install tox"
  4. # and then run "tox" from this directory.
  5. [tox]
  6. envlist = ansible-syntax-check
  7. skipsdist = True
  8. [testenv]
  9. deps = -r{toxinidir}/requirements.txt
  10. [testenv:ansible-syntax-check]
  11. changedir = {toxinidir}
  12. commands =
  13. /usr/bin/wget -N https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/openstack.py
  14. ansible-galaxy install -r requirements.yml
  15. /bin/bash -c "/usr/bin/find -maxdepth 1 -name '*.yml' ! -name 'infra_config.yml' ! -name 'requirements.yml' | /usr/bin/xargs -n1 ansible-playbook --syntax-check --list-tasks -i hosts"