From ba4c44be3c2aeff517008d073269fdde129a4641 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:02:45 +0100 Subject: [PATCH] remove htpasswd user first, to make sure password is updated if needed Former-commit-id: f0b7c43c6180f38957295e1a640d729b83febdca --- ansible/deploy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml index 9c3d7be8..f931c089 100644 --- a/ansible/deploy.yaml +++ b/ansible/deploy.yaml @@ -94,6 +94,10 @@ # 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: + path: /etc/ippidb-80/passwdfile + name: ippidb + state: absent - htpasswd: path: /etc/ippidb-80/passwdfile name: ippidb -- GitLab