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

minor correction to DJANGO_SETTINGS_MODULE ansible insertion

insertafter does not work and is probably useless anyway


Former-commit-id: cf751fe02bbf855e8cd495e7f79cfe66455decd8
parent d1b26248
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,6 @@
- name: add line in generated WSGI handler script to set DJANGO_SETTINGS_MODULE
blockinfile:
path: /etc/ippidb-80/handler.wsgi
insertafter: "os.environ['MOD_WSGI_SERVER_ALIASES'] = None or ''"
content: |
os.environ['DJANGO_SETTINGS_MODULE'] = 'ippisite.{{ ansible_hostname }}_settings'
- name: create or update database
......
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