ansible/roles/ipv6_edge_router/tasks/main.yml
Jeltz 79395b8a63
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Remove useless handler reference
2021-02-03 23:41:28 +01:00

33 lines
593 B
YAML

---
- name: Install quagga
apt:
name: quagga
- name: Tweak sysctl for table size
ansible.posix.sysctl:
name: net.ipv6.route.max_size
value: 500000
sysctl_set: yes
- name: Setup Quagga configuration
template:
src: "{{ item }}.j2"
dest: "/etc/quagga/{{ item.dest }}"
mode: u=rw,g=r,o=r
loop:
- daemons.j2
- zebra.conf.j2
- bgpd.conf.j2
notify:
- restart bgpd
- restart zebra
- name: enable+start bgpd and quagga
service:
name: "{{ item }}"
state: started
enabled: true
loop:
- bgpd.service
- zebra.service
...