There were some issues with proxmox cluster losing connectivity. Since disabling it there were no more issues. Might have not been caused by BFD or it was just misconfigured.
31 lines
591 B
YAML
31 lines
591 B
YAML
- name: Install FRR
|
|
package: name=frr,frr-pythontools
|
|
|
|
- name: Copy FRR config
|
|
template:
|
|
dest: /etc/frr/frr.conf
|
|
src: frr.conf.j2
|
|
mode: 0644
|
|
notify: reload frr
|
|
|
|
- name: Set datacenter defaults for FRR
|
|
lineinfile:
|
|
path: /etc/frr/daemons
|
|
line: 'frr_profile="datacenter"'
|
|
regexp: '#?frr_profile="datacenter"'
|
|
|
|
- name: Enable FRR daemons
|
|
lineinfile:
|
|
path: /etc/frr/daemons
|
|
regexp: "^{{ item }}="
|
|
line: "{{ item }}=yes"
|
|
loop:
|
|
- bgpd
|
|
notify: restart frr
|
|
|
|
- name: Enable FRR service
|
|
service:
|
|
name: frr
|
|
enabled: yes
|
|
state: started
|