Ensure tempest always has an Ansible config export

This change ensures that the "scripts/run-tempest.sh" script
always has a current export of the ansible configuration files.
This will also ensure that we're running tempest on every commit
at present we're currently passing due to a set of warnings.

Change-Id: Ibda98784b8d08648823d87d986cb20ad06318036
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-08-30 17:51:10 -05:00 committed by Jesse Pretorius (odyssey4me)
parent 752c9c971a
commit cf52fa71f1

View File

@ -33,6 +33,10 @@ info_block "Checking for required libraries." 2> /dev/null || source "$(dirname
## Main ----------------------------------------------------------------------
info_block "Running OpenStack Smoke Tests"
if [[ -f "/usr/local/bin/openstack-ansible.rc" ]];then
source "/usr/local/bin/openstack-ansible.rc"
fi
pushd playbooks
# Check that there are utility containers
if ! ansible 'utility[0]' --list-hosts;then