Merge branch 'radvd'

This commit is contained in:
Bastian Mäuser 2018-01-24 00:56:28 +01:00
commit 4cd37e4c4c
4 changed files with 15 additions and 12 deletions

View File

@ -3,6 +3,9 @@
- name: Install bird - name: Install bird
apt: package=bird apt: package=bird
- name: Enable IPv6 routing
sysctl: name=net.ipv6.conf.all.forwarding value=1 state=present
- name: Configure bird - name: Configure bird
template: src=bird.conf.j2 dest=/etc/bird/bird.conf template: src=bird.conf.j2 dest=/etc/bird/bird.conf
notify: Restart bird notify: Restart bird

View File

@ -12,7 +12,7 @@
- name: Enable nf_conntrack during boot - name: Enable nf_conntrack during boot
lineinfile: dest=/etc/modules line=nf_conntrack lineinfile: dest=/etc/modules line=nf_conntrack
- name: Increas conntrack limit - name: Increase conntrack limit
sysctl: name=net.netfilter.nf_conntrack_max value={{ conntrack_max }} state=present sysctl: name=net.netfilter.nf_conntrack_max value={{ conntrack_max }} state=present
- name: Configure iptables - name: Configure iptables

View File

@ -7,7 +7,7 @@ interface br-{{ site_code }} {
AdvOtherConfigFlag on; AdvOtherConfigFlag on;
MaxRtrAdvInterval 200; MaxRtrAdvInterval 200;
AdvLinkMTU {{ mtu }}; AdvLinkMTU {{ mtu }};
prefix {{ batman_ipv6 | ipaddr('address') | ipsubnet(64) }} prefix {{ batman_ipv6 | ipaddr('address') | ipsubnet(64) }} {
AdvOnLink on; AdvOnLink on;
AdvAutonomous on; AdvAutonomous on;
AdvRouterAddr on; AdvRouterAddr on;

View File

@ -10,17 +10,17 @@
- name: Setup gateway servers - name: Setup gateway servers
hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net] hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net]
roles: roles:
# - batman - batman
# - bird - bird
# - fastd - fastd
# - mesh-interfaces - mesh-interfaces
# - exit-ipv4 - exit-ipv4
# - dns - dns
- radvd - radvd
# - dhcpd - dhcpd
# - respondd - respondd
# - yanic - yanic
# - web-gw - web-gw
- name: Setup confluence server - name: Setup confluence server
hosts: confluence.regensburg.freifunk.net hosts: confluence.regensburg.freifunk.net