Skip to content
Snippets Groups Projects
Commit f80024a9 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

finalize htpasswd file

Former-commit-id: 22ec86372709f81cadc46d65e4c3ab5937260ea0
parent b2af998b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment