bk-dss: restart uwsgi on changes (fixes #28)

This commit is contained in:
Markus 2019-03-18 22:18:43 +01:00
parent cefabcaa7f
commit 218ae6c4dd
1 changed files with 3 additions and 0 deletions

View File

@ -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