From 3362f1c2fcfaddd704779bc9e43ce76855d09a7c Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Sat, 19 Sep 2020 21:37:33 +0200 Subject: [PATCH] Consistent use of spaces in Jinja2 print expressions --- templates/etc/wireguard/wg.conf.j2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/etc/wireguard/wg.conf.j2 b/templates/etc/wireguard/wg.conf.j2 index 87d0949..9416600 100644 --- a/templates/etc/wireguard/wg.conf.j2 +++ b/templates/etc/wireguard/wg.conf.j2 @@ -3,20 +3,20 @@ [Interface] # {{ inventory_hostname }} -Address = {{wireguard_address}} +Address = {{ wireguard_address }} PrivateKey = {{ wireguard__fact_private_key }} ListenPort = {{ wireguard_port }} {% if wireguard_dns is defined %} -DNS = {{wireguard_dns}} +DNS = {{ wireguard_dns }} {% endif %} {% if wireguard_fwmark is defined %} -FwMark = {{wireguard_fwmark}} +FwMark = {{ wireguard_fwmark }} {% endif %} {% if wireguard_mtu is defined %} -MTU = {{wireguard_mtu}} +MTU = {{ wireguard_mtu }} {% endif %} {% if wireguard_table is defined %} -Table = {{wireguard_table}} +Table = {{ wireguard_table }} {% endif %} {% if wireguard_preup is defined %} {% for wg_preup in wireguard_preup %}