ElaoInfra.supervisor
Ansible Role: Supervisor
This role will assume the setup of Supervisor
It's part of the ELAO Ansible stack but can be used as a stand alone component.
Requirements
None.
Dependencies
None.
Installation
Ansible 2+
Using ansible galaxy cli:
ansible-galaxy install elao.supervisor,2.0
Using ansible galaxy requirements file:
- src: elao.supervisor
version: 2.0
Ansible 1 (no longer maintained)
Using ansible galaxy cli:
ansible-galaxy install elao.supervisor,1.0
Using ansible galaxy requirements file:
- src: elao.supervisor
version: 1.0
Role Handlers
| Name | Type | Description |
|---|---|---|
| supervisor restart | Service | Restart supervisor service |
Role Variables
| Name | Default | Type | Description |
|---|---|---|---|
| elao_supervisor_config | {} | Array | Config |
| elao_supervisor_configs | [] | Array | Configs |
Configuration example
elao_supervisor_config:
loglevel: info
Enable http server
elao_supervisor_configs:
- file: inet_http_server.conf
template: configs/inet_http_server_default.conf.j2
config:
port: "*:9001"
Program
elao_supervisor_configs:
- file: foo.conf
template: configs/program_default.conf.j2
config:
name: foo
command: "bar"
Example playbook
- hosts: servers
roles:
- { role: elao.supervisor }
Licence
MIT
Author information
Install
ansible-galaxy install ElaoInfra.supervisorLicense
Unknown
Downloads
519
Owner
All of those roles aren't maintained anymore and we strongly encourage you to switch to our new (maintained and tested) Ansible stack: https://github.com/manala
