eggsby.supervise

This repository is an ansible role for installing a service managed by the supervisor daemon, with a focus on being simple & usable without root.

It depends on the supervisor role to ensure that supervisord is installed and running.

The only hard dependency on the target machine is virtualenv. This makes it so we can install supervisord without root.

Installation:

See galaxy

mkdir -p roles
ansible-galaxy install eggsby.supervise -p roles

Usage:

hosts: all
roles:
  - role: eggsby.supervise
    name: webserver
    command: python -m SimpleHTTPServer
    directory: ~/public/

This would install and start a supervisor program named 'webserver', with a simple config.

~/bin/supervisorctl status
curl -I localhost:8000

see defaults for supported parameters and the example project for help getting started.

About

Install and run supervised services using supervisord

Install
ansible-galaxy install eggsby.supervise
GitHub repository
License
Unknown
Downloads
96
Owner