kayobe/ansible/roles/kolla-ansible/tests/main.yml
Pierre Riteau 372058c19f Allow installing extra packages inside the kolla-ansible virtualenv
It may be necessary to install extra Python packages inside the
kolla-ansible virtualenv, such as when required by Ansible plugins. For
example, using the hashi_vault lookup plugin requires the hvac Python
package to be installed.

This patch adds a kolla_ansible_venv_extra_requirements list variable
which contains Python package requirements to add to the kolla-ansible
requirements file. Its default value is an empty list.

Change-Id: Ie0541dc05e2ab94af230d0113a23c544755424c7
2018-09-27 12:20:31 +01:00

23 lines
482 B
YAML

---
# TODO:
# - Check inventory file.
# - Add hosts to inventory.
# - Seed custom inventory
# - Overcloud custom inventory
# - Group map
# - Pass through variables
# - Nova ironic compute host
- include: test-defaults.yml
- include: test-extras.yml
- include: test-requirements.yml
- hosts: localhost
connection: local
tasks:
- name: Fail if any tests failed
fail:
msg: >
Test failures: {{ test_failures }}
when: test_failures is defined