From bac8258379f5243d4ea60a71a3a58df37629074f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Mon, 15 Jan 2018 22:05:24 +0100
Subject: [PATCH] install passlib so ansible htpasswd can use it.

Former-commit-id: e71384df917cd0a0356b6ce1379840b3750aa56f
---
 ansible/deploy.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml
index bf5f1a17..7813f2dd 100644
--- a/ansible/deploy.yaml
+++ b/ansible/deploy.yaml
@@ -92,6 +92,8 @@
         app_path: "/home/{{ deploy_user_name }}/iPPIDB/ippisite"
         settings: "ippisite.{{ ansible_hostname }}_settings"
     # FIXME: this should obviously be removed before switching to prod. env.
+    - name: install passlib for htpasswd in ansible
+      pip: name=passlib executable=pip3
     - htpasswd:
         path: /etc/ippidb-80/passwdfile
         name: ippidb
-- 
GitLab