nextpertise.supervisord

nextpertise.supervisord

Supervisord role for Debian hosts

Install it with the following command:

$ ansible-galaxy install nextpertise.supervisord

Requirements

None

Role Variables

You can find a list of all available variables in defaults/main.yml

Dependencies

None

Example Playbook

- 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"

License

GNUv2

Author Information

Teun Ouwehand @ Nextpertise B.V. (https://www.nextpertise.nl)

About

Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.

Install
ansible-galaxy install nextpertise.supervisord
GitHub repository
License
gpl-2.0
Downloads
502