Consistent use of spaces in Jinja2 print expressions

master
Robin Schneider 4 years ago
parent 132c59521a
commit 3362f1c2fc
No known key found for this signature in database
GPG Key ID: A81E8006DC95EFE6

@ -3,20 +3,20 @@
[Interface] [Interface]
# {{ inventory_hostname }} # {{ inventory_hostname }}
Address = {{wireguard_address}} Address = {{ wireguard_address }}
PrivateKey = {{ wireguard__fact_private_key }} PrivateKey = {{ wireguard__fact_private_key }}
ListenPort = {{ wireguard_port }} ListenPort = {{ wireguard_port }}
{% if wireguard_dns is defined %} {% if wireguard_dns is defined %}
DNS = {{wireguard_dns}} DNS = {{ wireguard_dns }}
{% endif %} {% endif %}
{% if wireguard_fwmark is defined %} {% if wireguard_fwmark is defined %}
FwMark = {{wireguard_fwmark}} FwMark = {{ wireguard_fwmark }}
{% endif %} {% endif %}
{% if wireguard_mtu is defined %} {% if wireguard_mtu is defined %}
MTU = {{wireguard_mtu}} MTU = {{ wireguard_mtu }}
{% endif %} {% endif %}
{% if wireguard_table is defined %} {% if wireguard_table is defined %}
Table = {{wireguard_table}} Table = {{ wireguard_table }}
{% endif %} {% endif %}
{% if wireguard_preup is defined %} {% if wireguard_preup is defined %}
{% for wg_preup in wireguard_preup %} {% for wg_preup in wireguard_preup %}

Loading…
Cancel
Save