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 @@ ...@@ -91,14 +91,14 @@
command: "migrate" command: "migrate"
app_path: "/home/{{ deploy_user_name }}/iPPIDB/ippisite" app_path: "/home/{{ deploy_user_name }}/iPPIDB/ippisite"
settings: "ippisite.{{ ansible_hostname }}_settings" settings: "ippisite.{{ ansible_hostname }}_settings"
# FIXME: this should obviously be removed before switching to prod. env.
- htpasswd: - htpasswd:
path: /etc/nginx/passwdfile path: /etc/nginx/passwdfile
name: ippidb name: ippidb
password: '' password: 'LeroyMerlin' #FIXME FIXME should be secret
owner: root owner: root
mode: 0640 mode: 0640
# FIXME: this should obviously be removed before switching to prod. env. - name: add httpd conf to use HTTP authentication
- name: restrict access to the web server to specific IPs
lineinfile: dest=/etc/ippidb-80/httpd.conf lineinfile: dest=/etc/ippidb-80/httpd.conf
regexp='' regexp=''
insertafter=EOF insertafter=EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment