2024-02-26 13:30:17 +00:00
|
|
|
- name: Install FRR
|
2023-07-14 12:17:44 +00:00
|
|
|
package:
|
2024-02-26 13:30:17 +00:00
|
|
|
name: frr
|
2023-10-18 13:01:02 +00:00
|
|
|
|
2024-02-26 13:30:17 +00:00
|
|
|
- name: Configure FRR
|
2023-10-18 13:01:02 +00:00
|
|
|
template:
|
|
|
|
dest: /etc/frr/frr.conf
|
|
|
|
src: frr.conf.j2
|
|
|
|
mode: 0644
|
|
|
|
notify: reload frr
|
|
|
|
|
2024-03-22 17:51:29 +00:00
|
|
|
- name: Set datacenter defaults for FRR
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/frr/daemons
|
|
|
|
line: 'frr_profile="datacenter"'
|
|
|
|
regexp: '#?frr_profile="datacenter"'
|
|
|
|
|
2024-02-26 13:30:17 +00:00
|
|
|
- name: Enable FRR
|
2023-10-18 13:01:02 +00:00
|
|
|
service:
|
|
|
|
name: frr
|
|
|
|
enabled: yes
|
|
|
|
state: started
|