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