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.
None.
None.
Using ansible galaxy cli:
ansible-galaxy install elao.supervisor,2.0
Using ansible galaxy requirements file:
- src: elao.supervisor
version: 2.0
Using ansible galaxy cli:
ansible-galaxy install elao.supervisor,1.0
Using ansible galaxy requirements file:
- src: elao.supervisor
version: 1.0
Name | Type | Description |
---|---|---|
supervisor restart | Service | Restart supervisor service |
Name | Default | Type | Description |
---|---|---|---|
elao_supervisor_config | {} | Array | Config |
elao_supervisor_configs | [] | Array | Configs |
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"
- hosts: servers
roles:
- { role: elao.supervisor }
MIT