From: meimei Date: Mon, 9 May 2016 02:51:21 +0000 (+0800) Subject: Use the latest version of ansible X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F14073%2F1;p=compass4nfv.git Use the latest version of ansible JIRA: COMPASS-386 Change-Id: I3973fd9ed4548efc367a0b22aaa650e37b52ae23 Signed-off-by: meimei (cherry picked from commit c6f911e50c666c2fc837a9192e721e6660660686) --- diff --git a/deploy/prepare.sh b/deploy/prepare.sh index 89be0e98..f90bf612 100755 --- a/deploy/prepare.sh +++ b/deploy/prepare.sh @@ -36,11 +36,11 @@ function download_iso() } function prepare_env() { - export PYTHONPATH=/usr/lib/python2.7/dist-packages:/usr/local/lib/python2.7/dist-packages sudo apt-get update -y sudo apt-get install -y --force-yes mkisofs bc curl ipmitool openvswitch-switch sudo apt-get install -y --force-yes git python-dev sudo apt-get install -y --force-yes libxslt-dev libxml2-dev libvirt-dev build-essential qemu-utils qemu-kvm libvirt-bin virtinst libmysqld-dev + sudo apt-get install -y --force-yes libffi-dev libssl-dev sudo service libvirt-bin restart # prepare work dir @@ -83,5 +83,5 @@ function prepare_python_env() { pip install --upgrade requests pip install --upgrade netaddr pip install --upgrade oslo.config - pip install --upgrade ansible==1.9.4 + pip install --upgrade ansible }