This patch fixes Build, which broke because of Ansible's deprecation of
v2.2. We now install Ansible using pip instead of apt.
Change-Id: I03207a429a25cf0bcbddfa403bd02a7f89d0f7e7
diff --git a/scripts/bootstrap_ansible.sh b/scripts/bootstrap_ansible.sh
index 2f1b4b5..5447483 100755
--- a/scripts/bootstrap_ansible.sh
+++ b/scripts/bootstrap_ansible.sh
@@ -19,7 +19,10 @@
echo "Installing Ansible using APT (PPA)..."
apt-get install -y software-properties-common python-netaddr apt-transport-https
-apt-add-repository ppa:ansible/ansible
+#apt-add-repository ppa:ansible/ansible
apt-get update
-apt-get install -y ansible
+#apt-get install -y ansible
+apt-get -y install python-dev libffi-dev python-pip libssl-dev sshpass
+pip install ansible==2.2.2.0
+mkdir -p /etc/ansible
cp /cord/build/ansible/ansible.cfg /etc/ansible/ansible.cfg