From d6bc25064fc94a48ec7d4a70a48887f16a1816c1 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 23:30:32 +0100
Subject: [PATCH] remove http passwd file completely during deploy

Former-commit-id: 70287e5ec9eccc2d74d78858f26106431a9caf54
---
 ansible/deploy.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml
index f931c089..63059004 100644
--- a/ansible/deploy.yaml
+++ b/ansible/deploy.yaml
@@ -94,10 +94,9 @@
     # FIXME: this should obviously be removed before switching to prod. env.
     - name: install passlib for htpasswd in ansible
       yum: name=python-passlib state=installed
-    - htpasswd:
+    - file:
         path: /etc/ippidb-80/passwdfile
-        name: ippidb
-        state: absent      
+        state: absent
     - htpasswd:
         path: /etc/ippidb-80/passwdfile
         name: ippidb
-- 
GitLab