Add batman role

This commit is contained in:
Markus 2017-03-27 17:39:04 +02:00
parent aca365e7b0
commit 2defb06c57
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
---
- name: Enable backports
apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present
- name: Install linux-image
apt: name=linux-image-amd64 default_release=jessie-backports state=latest
- name: Install batctl
apt: name=batctl default_release=jessie-backports state=latest
- name: Enable batman during boot
lineinfile: dest=/etc/modules line=batman-adv
- name: Load batman-adv module
modprobe: name=batman-adv

View File

@ -10,6 +10,7 @@
- name: Setup gateway servers - name: Setup gateway servers
hosts: gw31.regensburg.freifunk.net hosts: gw31.regensburg.freifunk.net
roles: roles:
- batman
- fastd - fastd
- dns - dns