zapier/ansible-supervisor

Name: ansible-supervisor

Owner: Zapier

Description: Ansible role to set up (the latest or a specific version of) supervisor in Ubuntu systems

Created: 2015-12-15 21:50:52.0

Updated: 2016-03-06 17:13:14.0

Pushed: 2015-12-24 20:10:41.0

Homepage:

Size: 31

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

supervisor

Build Status Ansible Galaxy

Set up the latest or a specific version of supervisor in Ubuntu systems.

Requirements Variables
Dependencies

None

Recommended
Example

sts: all
les:
- supervisor
Adding two programs in one group
rvisor_programs_present:
o:
command: 'sleep 10'
directory: /tmp
autostart: true
autorestart: true
startretries: 3
stdout_logfile: /tmp/foo.out
stdout_logfile_maxbytes: 0
stderr_logfile: /tmp/foo.err
stderr_logfile_maxbytes: 0
user: vagrant
numprocs: 8
process_name: %(program_name)s-%(process_num)s
r:
command: 'sleep 10'
directory: /tmp
autostart: true
autorestart: true
startretries: 3
stdout_logfile: /tmp/bar.out
stdout_logfile_maxbytes: 0
stderr_logfile: /tmp/bar.err
stderr_logfile_maxbytes: 0
user: vboxadd

rvisor_groups_present:
o-and-bar:
programs:
  - foo
  - bar
priority: 10
Removing a group
rvisor_groups_absent:
o-and-bar: {}
License

MIT

Author Information

Mischa ter Smitten

Feedback, bug-reports, requests, …

Are welcome!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.