Supervisord role for Debian hosts
Install it with the following command:
$ ansible-galaxy install nextpertise.supervisord
None
You can find a list of all available variables in defaults/main.yml
None
- hosts: servers
roles:
- role: nextpertise.supervisord
supervisord_program:
- name: django-uwsgi
# directory to cwd to before exec (def no cwd)
directory: "{{ project_home_path }}"
command: "program_to_execute.sh"
autostart: "true"
autorestart: "true"
stdout_logfile: "syslog"
stderr_logfile: "syslog"
GNUv2
Teun Ouwehand @ Nextpertise B.V. (https://www.nextpertise.nl)