Skip to content

m11y/ansible-supervisor2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An ansible role for install supervisor on CentOS, and add init script for running supervisord automatically on startup. Only tested on CentOS 6.x currently.

It forks and changes from ansible-supervisor. Init script comes from Supervisor initscripts.

Role Variables

supervisor_conf file will include all ini files in supervisor_conf_dir.

supervisor_conf: '/etc/supervisord.conf'
supervisor_conf_dir: '/etc/supervisord.d'
supervisor_pidfile: '/tmp/supervisord.pid'
supervisor_logfile: '/tmp/supervisord.log'

supervisor_http: off
supervisor_http_host: 127.0.0.1
supervisor_http_port: 9001

supervisor_http_auth: off
# supervisor_http_auth:
#   username: foo
#   password: bar

Example Playbook

- hosts: servers
  roles:
    - role: semparatus.supervisor2

License

MIT

About

An ansible role to install supervisor on CentOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published