diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-02-01 16:00:15 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-02-01 16:00:15 +0100 |
commit | 2726bd8739b78738745a462a4950b39cbfe4c1d7 (patch) | |
tree | d2eb61004faa66491a14476b2da7c821529dd5ca /module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2 | |
parent | 59ef07a9f583f0f0f64055a47938d57516b43541 (diff) | |
download | rules-sandbox-2726bd8739b78738745a462a4950b39cbfe4c1d7.tar.gz rules-sandbox-2726bd8739b78738745a462a4950b39cbfe4c1d7.tar.bz2 rules-sandbox-2726bd8739b78738745a462a4950b39cbfe4c1d7.tar.xz rules-sandbox-2726bd8739b78738745a462a4950b39cbfe4c1d7.zip |
wireguard.
Diffstat (limited to 'module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2')
-rw-r--r-- | module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2 b/module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2 index a3c8c40..cbf707e 100644 --- a/module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2 +++ b/module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2 @@ -2,7 +2,6 @@ link_address: {{ host.ip }} network_cidr: {{ host.networkCidr }} wireguard_peers: - {{ host.machine.name }}: {%- for peer in peers %} - - {{ peer.fqdn }} + - {{ peer.fqdn }} {%- endfor %} |