forked from infra/ansible
bk-dss: restart uwsgi on changes (fixes #28)
This commit is contained in:
parent
cefabcaa7f
commit
218ae6c4dd
@ -15,12 +15,15 @@
|
|||||||
|
|
||||||
- name: Install bk-dss
|
- name: Install bk-dss
|
||||||
git: repo=https://git.binary-kitchen.de/moepman/bk-dss.git dest=/opt/bk-dss depth=1 version={{ dss_version }}
|
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
|
- name: Configure bk-dss
|
||||||
template: src=config.cfg.j2 dest=/opt/bk-dss/config.cfg
|
template: src=config.cfg.j2 dest=/opt/bk-dss/config.cfg
|
||||||
|
notify: Restart uwsgi
|
||||||
|
|
||||||
- name: Configure uwsgi
|
- name: Configure uwsgi
|
||||||
template: src=uwsgi.ini.j2 dest=/etc/uwsgi/apps-available/dss.ini
|
template: src=uwsgi.ini.j2 dest=/etc/uwsgi/apps-available/dss.ini
|
||||||
|
notify: Restart uwsgi
|
||||||
|
|
||||||
- name: Enable uwsgi
|
- name: Enable uwsgi
|
||||||
file: src=/etc/uwsgi/apps-available/dss.ini dest=/etc/uwsgi/apps-enabled/dss.ini state=link
|
file: src=/etc/uwsgi/apps-available/dss.ini dest=/etc/uwsgi/apps-enabled/dss.ini state=link
|
||||||
|
Loading…
Reference in New Issue
Block a user