replace Tinc VPN with WireGuard

https://github.com/status-im/infra-hq/issues/58

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

View File

@ -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

View File

@ -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 }}'