From f80024a99af40a95e6bcfa7cc9b56b75e229a90b 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 21:38:32 +0100 Subject: [PATCH] finalize htpasswd file Former-commit-id: 22ec86372709f81cadc46d65e4c3ab5937260ea0 --- ansible/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml index fbb2e545..40e9448b 100644 --- a/ansible/deploy.yaml +++ b/ansible/deploy.yaml @@ -91,14 +91,14 @@ command: "migrate" app_path: "/home/{{ deploy_user_name }}/iPPIDB/ippisite" settings: "ippisite.{{ ansible_hostname }}_settings" + # FIXME: this should obviously be removed before switching to prod. env. - htpasswd: path: /etc/nginx/passwdfile name: ippidb - password: '' + password: 'LeroyMerlin' #FIXME FIXME should be secret owner: root mode: 0640 - # FIXME: this should obviously be removed before switching to prod. env. - - name: restrict access to the web server to specific IPs + - name: add httpd conf to use HTTP authentication lineinfile: dest=/etc/ippidb-80/httpd.conf regexp='' insertafter=EOF -- GitLab