From dfc02c3178f0075adf671d7450c71c1b75f67b93 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Wed, 2 May 2018 13:57:37 +0200 Subject: babel mesh between uplinks --- roles/install_babeld/templates/babeld.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/install_babeld/templates') diff --git a/roles/install_babeld/templates/babeld.conf.j2 b/roles/install_babeld/templates/babeld.conf.j2 index bf39bd5..028e5b5 100644 --- a/roles/install_babeld/templates/babeld.conf.j2 +++ b/roles/install_babeld/templates/babeld.conf.j2 @@ -14,6 +14,9 @@ interface bb{{ hostvars[peer]['wireguard_bb_name'] }} {% for peer in groups['fastd'] %} interface bb{{ hostvars[peer]['wireguard_bb_name'] }} {% endfor %} +{% for peer in groups['uplink'] | difference([inventory_hostname]) %} +interface bb{{ hostvars[peer]['wireguard_bb_name'] }} +{% endfor %} {% for peer in wireguard_bb_peers|default([]) %} interface bb{{ peer.name }} {% endfor %} -- cgit v1.2.3-54-g00ecf