diff --git a/roles/bird/templates/bird.conf.j2 b/roles/bird/templates/bird.conf.j2 index 9ee2070..41a4cf8 100644 --- a/roles/bird/templates/bird.conf.j2 +++ b/roles/bird/templates/bird.conf.j2 @@ -50,6 +50,7 @@ protocol static unreachable6 { } {% endif %} +{% if bird__ospf_broadcast_interfaces %} protocol ospf v2 ospf4 { ipv4 { @@ -80,7 +81,9 @@ protocol ospf v2 ospf4 { }; } +{% endif %} +{% if bird__ospf_broadcast_interfaces %} protocol ospf v3 ospf6 { ipv6 { @@ -111,6 +114,8 @@ protocol ospf v3 ospf6 { }; } +{% endif %} + {% for session in bird__bgp_sessions %} {% for local_address in session.local.address %}