ansible-nginx-uwsgi-supervisor/handlers/main.yml

11 lines
280 B
YAML
Raw Normal View History

---
# handlers file for ansible-nginx-uwsgi-supervisor
- name: restart uwsgi app
supervisorctl: name={{ uwsgi_service_name }} state=restarted config=/etc/supervisor/supervisor.conf
sudo: yes
- name: restart supervisord
service: name=supervisor state=restarted
sudo: yes