forked from FF-RGB/ansible
Merge branch 'radvd'
This commit is contained in:
commit
4cd37e4c4c
@ -3,6 +3,9 @@
|
||||
- name: Install bird
|
||||
apt: package=bird
|
||||
|
||||
- name: Enable IPv6 routing
|
||||
sysctl: name=net.ipv6.conf.all.forwarding value=1 state=present
|
||||
|
||||
- name: Configure bird
|
||||
template: src=bird.conf.j2 dest=/etc/bird/bird.conf
|
||||
notify: Restart bird
|
||||
|
@ -12,7 +12,7 @@
|
||||
- name: Enable nf_conntrack during boot
|
||||
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
|
||||
|
||||
- name: Configure iptables
|
||||
|
@ -7,7 +7,7 @@ interface br-{{ site_code }} {
|
||||
AdvOtherConfigFlag on;
|
||||
MaxRtrAdvInterval 200;
|
||||
AdvLinkMTU {{ mtu }};
|
||||
prefix {{ batman_ipv6 | ipaddr('address') | ipsubnet(64) }}
|
||||
prefix {{ batman_ipv6 | ipaddr('address') | ipsubnet(64) }} {
|
||||
AdvOnLink on;
|
||||
AdvAutonomous on;
|
||||
AdvRouterAddr on;
|
||||
|
20
site.yml
20
site.yml
@ -10,17 +10,17 @@
|
||||
- name: Setup gateway servers
|
||||
hosts: [gw11.regensburg.freifunk.net, gw21.regensburg.freifunk.net, gw31.regensburg.freifunk.net]
|
||||
roles:
|
||||
# - batman
|
||||
# - bird
|
||||
# - fastd
|
||||
# - mesh-interfaces
|
||||
# - exit-ipv4
|
||||
# - dns
|
||||
- batman
|
||||
- bird
|
||||
- fastd
|
||||
- mesh-interfaces
|
||||
- exit-ipv4
|
||||
- dns
|
||||
- radvd
|
||||
# - dhcpd
|
||||
# - respondd
|
||||
# - yanic
|
||||
# - web-gw
|
||||
- dhcpd
|
||||
- respondd
|
||||
- yanic
|
||||
- web-gw
|
||||
|
||||
- name: Setup confluence server
|
||||
hosts: confluence.regensburg.freifunk.net
|
||||
|
Loading…
Reference in New Issue
Block a user