Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
---
- name: config | Configuring vtysh.conf
template:
backup: yes
src: etc/frr/vtysh.conf.j2
dest: /etc/frr/vtysh.conf
owner: frr
group: frr
mode: u=rw,g=r,o=
become: true
- name: config | Configuring daemons
template:
backup: yes
src: etc/frr/daemons.j2
dest: /etc/frr/daemons
owner: root
group: root
mode: u=rw,g=r,o=r
become: true
notify:
- reload frr
- start frr
- name: config | Configuring debian.conf (debian version of daemons)
template:
backup: yes
src: etc/frr/debian.conf.j2
dest: /etc/frr/debian.conf
owner: root
group: root
mode: u=rw,g=r,o=r
become: true
notify:
- reload frr
- start frr
when: ansible_os_family == "Debian"
- name: config | Configuring FRR
template:
backup: yes
src: etc/frr/frr.conf.j2
dest: /etc/frr/frr.conf
owner: frr
group: frr
mode: u=rw,g=r,o=r
become: true
notify:
- reload frr
- start frr
- name: config | Ensure FRR service is enabled
service:
name: frr
enabled: true
become: true