From a85999dbacc7d6a26332955e6518ae495797e85e Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sun, 4 Mar 2018 17:50:19 +0100 Subject: install vnstat --- roles/install_wireguard_backbone/templates/wg2.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/install_wireguard_backbone') diff --git a/roles/install_wireguard_backbone/templates/wg2.conf.j2 b/roles/install_wireguard_backbone/templates/wg2.conf.j2 index c30fcaf..f16d668 100644 --- a/roles/install_wireguard_backbone/templates/wg2.conf.j2 +++ b/roles/install_wireguard_backbone/templates/wg2.conf.j2 @@ -5,5 +5,6 @@ PrivateKey = {{ wireguard_bb_priv_key }} [Peer] PublicKey = {{ item.pub_key }} AllowedIPs = 0.0.0.0/0,::/0 -{% if item.endpoint is defined %}Endpoint = [{{ item.endpoint }}]:{{ wireguard_bb_port }}{% endif %} PersistentKeepalive = 30 +{% if item.endpoint is defined %}Endpoint = [{{ item.endpoint }}]:{{ wireguard_bb_port }}{% endif %} + -- cgit v1.2.3-54-g00ecf