servers/roles/proxmox/tasks/frr.yml

23 lines
406 B
YAML
Raw Normal View History

- name: Install FRR
2023-07-14 12:17:44 +00:00
package:
name: frr
- name: Configure FRR
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
service:
name: frr
enabled: yes
state: started