2014-11-18 08:24:39 -05:00
|
|
|
---
|
2015-01-07 18:23:43 -05:00
|
|
|
- name: install uwsgi server
|
|
|
|
pip: name=uwsgi virtualenv={{ uwsgi_venv }} version=2.0
|
|
|
|
sudo: yes
|
2014-11-18 08:24:39 -05:00
|
|
|
|
2015-01-13 22:45:07 -05:00
|
|
|
- name: configure app on uwsgi server
|
|
|
|
template: src=uwsgi/app_uwsgi.ini dest={{ uwsgi_config }}/{{ uwsgi_app_ini }}
|
2015-01-07 18:23:43 -05:00
|
|
|
sudo: yes
|
2014-11-19 19:20:27 -05:00
|
|
|
|
2015-01-07 18:23:43 -05:00
|
|
|
- name: restart uwsgi server
|
|
|
|
supervisorctl: name=uwsgi state=restarted config=/etc/supervisor/supervisor.conf
|
|
|
|
sudo: yes
|