diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2018-05-02 13:57:37 +0200 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2018-05-02 13:57:37 +0200 |
commit | dfc02c3178f0075adf671d7450c71c1b75f67b93 (patch) | |
tree | 051fd0c640398d171f8b9b04e5c9756f5068abdf /roles/install_babeld/templates/babeld.conf.j2 | |
parent | c17cedcf1bb78b21c06837e46bf23451f7738026 (diff) |
babel mesh between uplinks
Diffstat (limited to 'roles/install_babeld/templates/babeld.conf.j2')
-rw-r--r-- | roles/install_babeld/templates/babeld.conf.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
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 %} |