ansible/roles/ipv6-edge-router/tasks/main.yml
2020-09-28 18:15:03 +02:00

38 lines
655 B
YAML

---
- name: install GPG
apt:
name: gnupg
- name: Add FRR repo key
apt_key:
data: "{{ lookup('file', 'frr-apt-key.asc') }}"
state: present
- name: Add FRR apt repository
apt_repository:
repo: deb https://deb.frrouting.org/frr buster frr-stable
state: present
notify: restart frr
- name: Install frr
apt:
name: frr
- name: setup frr daemons
template:
src: daemons.j2
dest: /etc/frr/daemons
notify: restart frr
- name: setup frr.conf
template:
src: frr.conf.j2
dest: /etc/frr/frr.conf
notify: restart frr
- name: enable+start frr
service:
name: frr
state: started
enabled: yes