2014-12-22 18:03:40 -05:00
|
|
|
---
|
|
|
|
# handlers file for ansible-nginx-uwsgi-supervisor
|
2015-01-15 18:07:41 -05:00
|
|
|
- name: restart uwsgi app
|
2015-01-21 09:05:19 -05:00
|
|
|
supervisorctl: name={{ uwsgi_app_service_name }} state=restarted config=/etc/supervisor/supervisor.conf
|
2015-01-15 18:07:41 -05:00
|
|
|
sudo: yes
|
|
|
|
|
|
|
|
- name: restart supervisord
|
|
|
|
service: name=supervisor state=restarted
|
|
|
|
sudo: yes
|
|
|
|
|
2015-01-15 18:37:26 -05:00
|
|
|
- name: restart nginx
|
|
|
|
service: name=nginx state=restarted
|
|
|
|
sudo: yes
|