mirror of
https://github.com/status-im/infra-role-matterbridge.git
synced 2025-02-22 19:48:20 +00:00
14 lines
442 B
YAML
14 lines
442 B
YAML
|
---
|
||
|
- name: Create Consul service definition
|
||
|
include_role: name=consul-service
|
||
|
vars:
|
||
|
consul_config_name: '{{ matterbridge_cont_name }}'
|
||
|
consul_services:
|
||
|
- name: '{{ matterbridge_cont_name }}'
|
||
|
tags: ['matterbridge', 'bridge']
|
||
|
checks:
|
||
|
- id: '{{ matterbridge_cont_name }}-status'
|
||
|
name: 'MatterBridge health'
|
||
|
type: 'script'
|
||
|
script: '/usr/bin/pgrep -xl matterbridge'
|