13 lines
348 B
YAML
13 lines
348 B
YAML
---
|
|
- name: install uwsgi server
|
|
pip: name=uwsgi virtualenv={{ uwsgi_venv }} version=2.0
|
|
sudo: yes
|
|
|
|
- name: upload rookeries configuration
|
|
copy: src=uwsgi/{{ rookeries_uwsgi_ini }} dest={{ uwsgi_config }}
|
|
sudo: yes
|
|
|
|
- name: restart uwsgi server
|
|
supervisorctl: name=uwsgi state=restarted config=/etc/supervisor/supervisor.conf
|
|
sudo: yes
|