Use release version of Ansible for testing

We were using the unreleased (from git) version of Ansible for our
Ansible test job because at the time, 2.0 had not been released. Now
that it is released, use pip to install it so that we are less likely
to get broken by development changes to Ansible.

Change-Id: Ie714f42d26569044b6a3ee761bd5fb7451833d96
This commit is contained in:
David Shrewsbury 2016-02-11 08:33:50 -05:00
parent ef5a1b20a1
commit 661927392c
1 changed files with 2 additions and 10 deletions

View File

@ -50,20 +50,12 @@ fi
shift $((OPTIND-1))
TAGS=$( echo "$*" | tr ' ' , )
if [ -d ${ENVDIR}/ansible ]
then
echo "Using existing Ansible install"
else
echo "Installing Ansible at $ENVDIR"
git clone --recursive git://github.com/ansible/ansible.git ${ENVDIR}/ansible
fi
# We need to source the current tox environment so that Ansible will
# be setup for the correct python environment.
source $ENVDIR/bin/activate
# Setup Ansible
source $ENVDIR/ansible/hacking/env-setup
echo "Installing Ansible"
pip install ansible
# Run the shade Ansible tests
tag_opt=""