add route refector var
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
1864c51905
commit
d8f4aa4a03
2 changed files with 4 additions and 2 deletions
|
|
@ -4,4 +4,6 @@
|
|||
ansible.builtin.template:
|
||||
src: etc/frr/frr.conf.j2
|
||||
dest: "/etc/frr/frr.conf"
|
||||
notify: systemctl daemon-reload
|
||||
notify: systemctl daemon-reload
|
||||
vars:
|
||||
route_reflector: "192.168.11.1"
|
||||
|
|
@ -21,7 +21,7 @@ router bgp 65000
|
|||
advertise-all-vni
|
||||
exit-address-family
|
||||
!
|
||||
neighbor 192.168.14.1 remote-as 65001
|
||||
neighbor {{ route_reflector }} remote-as 65001
|
||||
!
|
||||
address-family ipv4 unicast
|
||||
redistribute static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue