mirror of
https://github.com/status-im/infra-role-geth-exporter.git
synced 2025-02-20 06:38:20 +00:00
add geth_expo_consul_id for specifying consul service id
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
9846d4b264
commit
5f3011243a
@ -10,6 +10,7 @@ geth_expo_cont_addr: '0.0.0.0'
|
||||
geth_expo_cont_port: 9200
|
||||
|
||||
# consul catalog data
|
||||
geth_expo_consul_id: 'geth-exporter'
|
||||
geth_expo_consul_name: 'geth-exporter'
|
||||
geth_expo_consul_addr: '{{ ansible_local.tinc.vpn_ip }}'
|
||||
geth_expo_consul_extra_tag: '{{ geth_expo_cont_name }}'
|
||||
|
@ -4,7 +4,8 @@
|
||||
vars:
|
||||
consul_config_name: '{{ geth_expo_cont_name | replace("-", "_") }}'
|
||||
consul_services:
|
||||
- name: '{{ geth_expo_consul_name }}'
|
||||
- id: '{{ geth_expo_consul_id }}'
|
||||
name: '{{ geth_expo_consul_name }}'
|
||||
port: '{{ geth_expo_cont_port }}'
|
||||
address: '{{ geth_expo_consul_addr }}'
|
||||
tags: '{{ geth_expo_consul_tags }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user