mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2024-11-24 23:56:38 +00:00
16 lines
477 B
Django/Jinja
16 lines
477 B
Django/Jinja
DEVICE=lo
|
|
IPADDR=127.0.0.1
|
|
NETMASK=255.0.0.0
|
|
NETWORK=127.0.0.0
|
|
# If you're having problems with gated making 127.0.0.0/8 a martian,
|
|
# you can change this to something else (255.255.255.255, for example)
|
|
BROADCAST=127.255.255.255
|
|
{% for protocol_static in bird.bgp.static %}
|
|
{% for network in protocol_static['networks'][ansible_fqdn] %}
|
|
IPADDR{{ loop.index }}={{ network['ip'] }}
|
|
NETMASK{{ loop.index }}={{ network['mask'] }}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
ONBOOT=yes
|
|
NAME=loopback
|