From e85230e6d79b8ed757e5cb8fa5aed808f31eb8c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 19 May 2021 23:02:25 +0200 Subject: [PATCH] replace Tinc VPN with WireGuard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/status-im/infra-hq/issues/58 Signed-off-by: Jakub SokoĊ‚owski --- defaults/main.yml | 4 ++-- tasks/consul.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 58fb5e9..f42c521 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -39,8 +39,8 @@ geth_rpc_vhosts: - '{{ geth_cont_name }}' - '{{ geth_rpc_extra_vhost }}' - '{{ hostname }}' - - '{{ hostname }}.tinc' - - '{{ ansible_local.tinc.vpn_ip }}' + - '{{ hostname }}.wg' + - '{{ ansible_local.wireguard.vpn_ip }}' # Wrapper for easier RPC usage get_rpc_wrapper: '{{ geth_service_path }}/rpc.sh' # Web Sockets API diff --git a/tasks/consul.yml b/tasks/consul.yml index 4ccec2a..4afa794 100644 --- a/tasks/consul.yml +++ b/tasks/consul.yml @@ -21,7 +21,7 @@ - name: '{{ geth_cont_name }}-rpc' tags: '{{ geth_consul_tags + ["rpc"] }}' port: '{{ geth_rpc_port }}' - address: '{{ ansible_local.tinc.vpn_ip }}' + address: '{{ ansible_local.wireguard.vpn_ip }}' meta: env: '{{ env }}' stage: '{{ stage }}' @@ -34,7 +34,7 @@ - name: '{{ geth_cont_name }}-ws' tags: '{{ geth_consul_tags + ["websocket"] }}' port: '{{ geth_websocket_port }}' - address: '{{ ansible_local.tinc.vpn_ip }}' + address: '{{ ansible_local.wireguard.vpn_ip }}' meta: env: '{{ env }}' stage: '{{ stage }}'