diff options
Diffstat (limited to 'roles/install_babeld/templates/babeld.conf.j2')
-rw-r--r-- | roles/install_babeld/templates/babeld.conf.j2 | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/roles/install_babeld/templates/babeld.conf.j2 b/roles/install_babeld/templates/babeld.conf.j2 index 7b436da..47a4d3e 100644 --- a/roles/install_babeld/templates/babeld.conf.j2 +++ b/roles/install_babeld/templates/babeld.conf.j2 @@ -6,19 +6,11 @@ ipv6-subtrees true # You must provide at least one interface for babeld to operate on. {% if 'fastd' in group_names %} -{% for peer in groups['ffrl_uplink'] %} -interface bb{{ hostvars[peer]['wireguard_bb_name'] }} -{% endfor %} -{% for peer in groups['mullvad_uplink'] %} -interface bb{{ hostvars[peer]['wireguard_bb_name'] }} -{% endfor %} -{% endif %} -{% if 'mullvad_uplink' in group_names %} -{% for peer in groups['fastd'] %} +{% for peer in groups['uplink'] %} interface bb{{ hostvars[peer]['wireguard_bb_name'] }} {% endfor %} {% endif %} -{% if 'ffrl_uplink' in group_names %} +{% if 'uplink' in group_names %} {% for peer in groups['fastd'] %} interface bb{{ hostvars[peer]['wireguard_bb_name'] }} {% endfor %} |