parametrize consul service address

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-05-06 11:36:45 +02:00
parent c25e0466d1
commit 5161f2337d
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ geth_cache: 1536
geth_public_addr: '{{ ansible_host }}'
# Consul config
geth_consul_address: '{{ ansible_host }}'
geth_consul_enabled: true
geth_consul_default_tags:
- geth

View File

@ -21,6 +21,7 @@
- name: '{{ geth_cont_name }}'
tags: '{{ geth_consul_tags }}'
port: '{{ geth_port }}'
address: '{{ geth_consul_address }}'
meta:
env: '{{ env }}'
stage: '{{ stage }}'