parametrize consul service address
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c25e0466d1
commit
5161f2337d
|
@ -60,6 +60,7 @@ geth_cache: 1536
|
||||||
geth_public_addr: '{{ ansible_host }}'
|
geth_public_addr: '{{ ansible_host }}'
|
||||||
|
|
||||||
# Consul config
|
# Consul config
|
||||||
|
geth_consul_address: '{{ ansible_host }}'
|
||||||
geth_consul_enabled: true
|
geth_consul_enabled: true
|
||||||
geth_consul_default_tags:
|
geth_consul_default_tags:
|
||||||
- geth
|
- geth
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
- name: '{{ geth_cont_name }}'
|
- name: '{{ geth_cont_name }}'
|
||||||
tags: '{{ geth_consul_tags }}'
|
tags: '{{ geth_consul_tags }}'
|
||||||
port: '{{ geth_port }}'
|
port: '{{ geth_port }}'
|
||||||
|
address: '{{ geth_consul_address }}'
|
||||||
meta:
|
meta:
|
||||||
env: '{{ env }}'
|
env: '{{ env }}'
|
||||||
stage: '{{ stage }}'
|
stage: '{{ stage }}'
|
||||||
|
|
Loading…
Reference in New Issue