babel mullvad_uplink fix

master
Niklas Yann Wettengel 7 years ago
parent 0da10ba8bc
commit fb0ce938dc

@ -5,13 +5,18 @@
ipv6-subtrees true ipv6-subtrees true
# You must provide at least one interface for babeld to operate on. # You must provide at least one interface for babeld to operate on.
{% if 'ffrl_uplink' in group_names %} {% if 'fastd' in group_names %}
{% for peer in groups['ffrl_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['fastd'] %}
interface bb{{ hostvars[peer]['wireguard_bb_name'] }} interface bb{{ hostvars[peer]['wireguard_bb_name'] }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if 'fastd' in group_names %} {% if 'ffrl_uplink' in group_names %}
{% for peer in groups['ffrl_uplink'] %} {% for peer in groups['fastd'] %}
interface bb{{ hostvars[peer]['wireguard_bb_name'] }} interface bb{{ hostvars[peer]['wireguard_bb_name'] }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}

Loading…
Cancel
Save