From 218ae6c4ddf860e800daef7a3c8a9901c86c4a85 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 18 Mar 2019 22:18:43 +0100 Subject: [PATCH] bk-dss: restart uwsgi on changes (fixes #28) --- roles/bk-dss/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/bk-dss/tasks/main.yml b/roles/bk-dss/tasks/main.yml index fafaea5..effbfb9 100644 --- a/roles/bk-dss/tasks/main.yml +++ b/roles/bk-dss/tasks/main.yml @@ -15,12 +15,15 @@ - name: Install bk-dss git: repo=https://git.binary-kitchen.de/moepman/bk-dss.git dest=/opt/bk-dss depth=1 version={{ dss_version }} + notify: Restart uwsgi - name: Configure bk-dss template: src=config.cfg.j2 dest=/opt/bk-dss/config.cfg + notify: Restart uwsgi - name: Configure uwsgi template: src=uwsgi.ini.j2 dest=/etc/uwsgi/apps-available/dss.ini + notify: Restart uwsgi - name: Enable uwsgi file: src=/etc/uwsgi/apps-available/dss.ini dest=/etc/uwsgi/apps-enabled/dss.ini state=link