Fix Ansible install issue
Change-Id: I57156c5c1839f30b343c3d6934e5f80751e9a0f6
diff --git a/scripts/cord-bootstrap.sh b/scripts/cord-bootstrap.sh
index f8c5359..ffea0bd 100644
--- a/scripts/cord-bootstrap.sh
+++ b/scripts/cord-bootstrap.sh
@@ -12,13 +12,11 @@
if [ ! -x "/usr/bin/ansible" ]
then
echo "Installing Ansible..."
-# sudo apt-get update
+ sudo apt-get update
# sudo apt-get install -y software-properties-common
# sudo apt-add-repository -y ppa:ansible/ansible
- sudo apt-get -y install python-dev libffi-dev python-pip libssl-dev sshpass
- pip install ansible==2.2.2.0
- sudo apt-get update
- sudo apt-get install -y ansible python-netaddr
+ sudo apt-get -y install python-dev libffi-dev python-pip libssl-dev sshpass python-netaddr
+ sudo pip install ansible==2.2.2.0
fi
if [ ! -x "/usr/local/bin/repo" ]