CORD-2084 Explicitly install cryptography package
Change-Id: Idbf0ef320d07408930ed4bed1a7857a845b49e95
diff --git a/roles/head-prep/tasks/main.yml b/roles/head-prep/tasks/main.yml
index d934c2d..8843f69 100644
--- a/roles/head-prep/tasks/main.yml
+++ b/roles/head-prep/tasks/main.yml
@@ -41,6 +41,9 @@
- python-dev
- sshpass
+- name: Install Cryptography package via pip
+ pip: name=cryptography version=1.9
+
- name: Install Ansible via pip
pip: name=ansible version=2.2.2.0
# - name: Make sure Ansible is newest version
diff --git a/scripts/cord-bootstrap.sh b/scripts/cord-bootstrap.sh
index 36040ab..b4f3b2f 100644
--- a/scripts/cord-bootstrap.sh
+++ b/scripts/cord-bootstrap.sh
@@ -16,6 +16,7 @@
# 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 python-netaddr
+ sudo pip install cryptography==1.9
sudo pip install ansible==2.2.2.0
fi