From 1628b579b340e971110aa4d384bb632c8aaab65c Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Thu, 15 Jun 2017 13:33:04 +0000 Subject: [PATCH] Copy the fmn WSGI app to the right location in stg Signed-off-by: Jeremy Cline --- roles/notifs/frontend/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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