aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-05-09 10:51:21 +0800
committermei mei <meimei@huawei.com>2016-05-13 01:03:05 +0000
commitab6a6a316864c01f9000bf06a651e9e88db5784e (patch)
treece4715e9b02d083b772d22d5dd4aee16ea8533e6
parentd6e4a09c55c7ecf9b00e00aaabc21fa0ed7ff34e (diff)
Use the latest version of ansible
JIRA: COMPASS-386 Change-Id: I3973fd9ed4548efc367a0b22aaa650e37b52ae23 Signed-off-by: meimei <meimei@huawei.com> (cherry picked from commit c6f911e50c666c2fc837a9192e721e6660660686)
-rwxr-xr-xdeploy/prepare.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/prepare.sh b/deploy/prepare.sh
index 89be0e9..f90bf61 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
}