Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darkone23/ansible-supervise
ansible role to install a service with supervisord
https://github.com/darkone23/ansible-supervise
Last synced: 3 months ago
JSON representation
ansible role to install a service with supervisord
- Host: GitHub
- URL: https://github.com/darkone23/ansible-supervise
- Owner: darkone23
- Created: 2013-11-22T05:46:26.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T21:46:25.000Z (over 7 years ago)
- Last Synced: 2024-05-06T15:17:42.698Z (9 months ago)
- Size: 210 KB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - darkone23/ansible-supervise - ansible role to install a service with supervisord (others)
README
This repository is an [ansible](http://ansibleworks.com) role for installing a service managed by the supervisor daemon, with a focus on being simple & usable without root.
It depends on the [supervisor](https://github.com/eggsby/ansible-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](https://galaxy.ansibleworks.com)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:8000see [defaults](https://github.com/eggsby/ansible-supervisor/blob/master/defaults/main.yaml) for supported parameters and the [example project](https://github.com/eggsby/ansible-supervisor-example) for help getting started.