service-bird-lg: use existing variable for AS number

This commit is contained in:
Julian Labus 2018-09-21 17:16:24 +02:00
parent 5fee4d98dc
commit 525c3e4fd0
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -28,10 +28,10 @@ ROUTER_IP = {
AS_NUMBER = { AS_NUMBER = {
{% for host in groups["ffmwu-gateways"] %} {% for host in groups["ffmwu-gateways"] %}
"{{ host.rsplit('.freifunk-mwu.de')[0] }}" : "65037", "{{ host.rsplit('.freifunk-mwu.de')[0] }}" : "{{ as_private_mwu }}",
{% endfor %} {% endfor %}
{% for host in legacy_gateways %} {% for host in legacy_gateways %}
"{{ host }}" : "65037", "{{ host }}" : "{{ as_private_mwu }}",
{% endfor %} {% endfor %}
} }