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