# Reload in supervisorctl

**URL:** <https://forum.ansible.com/t/reload-in-supervisorctl/11918>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [September 21, 2012, 6:08pm UTC](https://forum.ansible.com/t/reload-in-supervisorctl/11918 "2012-09-21T18:08:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Wright](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@Matt\_Wright](https://forum.ansible.com/u/Matt_Wright)\
**Post date:** [September 21, 2012, 6:08pm UTC](https://forum.ansible.com/t/reload-in-supervisorctl/11918/1 "2012-09-21T18:08:29Z")

</div>

Hi Keith,

Here’s an example of a simple playbook that writes the config file for supervisor and restarts the process via supervisorctl:

[https://github.com/mattupstate/ansible-tutorial/blob/master/devops/deploy.yml](https://github.com/mattupstate/ansible-tutorial/blob/master/devops/deploy.yml)

The playbook was written as part of small project/tutorial that I wrote. You can read more about it here:

[http://mattupstate.github.com/python/devops/2012/08/07/flask-wsgi-application-deployment-with-ubuntu-ansible-nginx-supervisor-and-uwsgi.html](http://mattupstate.github.com/python/devops/2012/08/07/flask-wsgi-application-deployment-with-ubuntu-ansible-nginx-supervisor-and-uwsgi.html)

Hope that helps.

-M
