diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml
index f931c0892aba1f32a5ebb6f001672da731f0e0dc..630590047a9d18970e546bdc6ddcce9d7db2512a 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