M #-: Delete frr.conf (#1378)

From latest FRR stable bgpd.conf (and all *.conf as well) are ignored if
frr.conf is present.

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
Ricardo Diaz authored and GitHub committed 2021-07-26 15:42:43 +02:00
1 parent fbc9c4bcfa
commit 54e1c43a1b
3 files changed
+7 -2

No files matched your search

@@ -63,6 +63,11 @@
dest: /etc/frr/staticd.conf
when: frr_zebra == true
- name: Remove frr.conf
file:
path: /etc/frr/frr.conf
state: absent
- name: Enable BGP daemon
replace:
path: /etc/frr/daemons
@@ -3,7 +3,7 @@
!
hostname {{ ansible_nodename }}
!
log file /var/log/frr/bgpd.log
log file /var/log/frr/bgpd.log informational
!
router bgp {{ frr_as }}
bgp router-id {{ vars['ansible_' + frr_iface].ipv4.address }}
@@ -3,7 +3,7 @@
!
hostname {{ ansible_nodename }}
!
log file /var/log/frr/bgpd.log
log file /var/log/frr/bgpd.log informational
!
router bgp {{ frr_as }}
bgp router-id {{ vars['ansible_' + frr_iface].ipv4.address }}