Adapt testing to heat based deployments
This change adapts testing to heat based deployments so we
can test them as well. The changes are listed below.
- switched to generated inventory.ini to run Ansible on jumphost
which could be localhost in bifrost case and the actual jumphost
in heat case
- introduced a new playbook, run-tests.yaml, with corresponding
role since tests could be run on localhost or jumphost depending
on the provisioner
- run-tests execution is done within the playbook so we don't deal
with which node to execute the script and use Ansible for it
- the test execution itself does not cause failure in order for us
to log the output to console and a separate task looks at RC to
determin the verdict of the run and fail it if it is non-zero
- group_vars is taken into use
Change-Id: Ieeca1433de79e3c35884f575b485a545759f17e0
9 files changed