use tinc vpn address for consul definition

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-05-05 17:46:07 +02:00
parent b3d13d5ddd
commit 25d149ef49
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
- name: '{{ memcached_exporter_service }}'
tags: '{{ memcached_exporter_consul_tags }}'
port: '{{ memcached_exporter_port }}'
address: '{{ memcached_addr }}'
address: '{{ ansible_local.tinc.vpn_ip }}'
checks:
- id: '{{ memcached_exporter_service }}-health'
name: 'Memcached Exporter'