Use the latest version of ansible 73/14073/1
authormeimei <meimei@huawei.com>
Mon, 9 May 2016 02:51:21 +0000 (10:51 +0800)
committermei mei <meimei@huawei.com>
Fri, 13 May 2016 01:03:05 +0000 (01:03 +0000)
JIRA: COMPASS-386

Change-Id: I3973fd9ed4548efc367a0b22aaa650e37b52ae23
Signed-off-by: meimei <meimei@huawei.com>
(cherry picked from commit c6f911e50c666c2fc837a9192e721e6660660686)

deploy/prepare.sh

index 89be0e9..f90bf61 100755 (executable)
@@ -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
 }