diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml index fbb2e545024fc663e06705386979ea1373942775..40e9448bc61d9acc58545a182b5e6617f4a03bf6 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