mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2025-01-18 12:02:22 +00:00
fix
This commit is contained in:
parent
daf389804c
commit
caf5bd2882
@ -12,8 +12,7 @@
|
||||
daemon_reload: yes
|
||||
|
||||
- name: Restart loopback
|
||||
shell: |
|
||||
ifdown lo ; ifup lo
|
||||
command: ifdown lo ; ifup lo
|
||||
|
||||
- name: Reload dummy interface
|
||||
command: nmcli conn up {{ dummy_iface | default('dummy0') }}
|
||||
|
@ -39,6 +39,7 @@ protocol bgp {{ protocol_bgp.name }} {
|
||||
neighbor {{ protocol_bgp.remote_addr }} as {{ protocol_bgp.remote_asnum }};
|
||||
hold time 30;
|
||||
ipv4 {
|
||||
import none;
|
||||
export filter {
|
||||
{% for proto in protocol_bgp.export %}
|
||||
if proto = "{{ proto }}" then accept;
|
||||
|
Loading…
Reference in New Issue
Block a user