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…
Reference in New Issue