diff --git a/roles/notifs/frontend/tasks/main.yml b/roles/notifs/frontend/tasks/main.yml index c6fb723a7c..d33e1b78ce 100644 --- a/roles/notifs/frontend/tasks/main.yml +++ b/roles/notifs/frontend/tasks/main.yml @@ -96,6 +96,15 @@ - notifs - notifs/frontend +- name: copy custom wsgi file + copy: src=fmn.web.wsgi dest=/usr/share/fmn/fmn.web.wsgi mode=0644 + when: env == "staging" + notify: + - restart apache + tags: + - notifs + - notifs/frontend + - name: copy app configuration template: > src=fmn.web.cfg dest=/etc/fmn.web.cfg