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: Ib1306214a7a3e8d17b81b8b0f73c5fb13cba72f9
diff --git a/scripts/bootstrap_ansible.sh b/scripts/bootstrap_ansible.sh
index ddaa522..19a1f8c 100755
--- a/scripts/bootstrap_ansible.sh
+++ b/scripts/bootstrap_ansible.sh
@@ -17,9 +17,12 @@
 
 set -e
 
-echo "Installing Ansible..."
-apt-get install -y software-properties-common
-apt-add-repository ppa:ansible/ansible
+echo "Installing Ansible using PIP..."
+apt-get install -y software-properties-common python-netaddr apt-transport-https
+#apt-add-repository ppa:ansible/ansible
 apt-get update
-apt-get install -y ansible apt-transport-https
+#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