ansible/roles/ipv6_edge_router/tasks/main.yml
Jeltz 0988e8bbd0
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Fix permissions
It will become useful when we store the password in the vault.
2021-02-03 23:55:44 +01:00

33 lines
580 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 }}"
mode: u=rw,g=r,o=
loop:
- daemons
- zebra.conf
- bgpd.conf
notify:
- restart bgpd
- restart zebra
- name: enable+start bgpd and quagga
service:
name: "{{ item }}"
state: started
enabled: true
loop:
- bgpd.service
- zebra.service
...