Use the latest version of ansible 59/13759/2
authormeimei <meimei@huawei.com>
Mon, 9 May 2016 02:51:21 +0000 (10:51 +0800)
committermeimei <meimei@huawei.com>
Wed, 11 May 2016 09:17:18 +0000 (17:17 +0800)
JIRA: COMPASS-386

Change-Id: I3973fd9ed4548efc367a0b22aaa650e37b52ae23
Signed-off-by: meimei <meimei@huawei.com>
deploy/prepare.sh

index 60657a0..e7d8444 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
     if sudo service openvswitch-switch status|grep stop; then
         sudo service openvswitch-switch start
@@ -86,5 +86,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
 }