- ---
- - name: Ensure batctl is installed
- apt: name=batctl
- - name: Enable batman module on boot
- lineinfile: dest=/etc/modules line=batman_adv
- - name: Load batman-adv kernel module
- modprobe: name=batman_adv state=present
- - name: Install batman-adv mesh interface definition
- template:
- dest: "/etc/network/interfaces.d/10_batman.cfg"
- src: "batman.cfg.j2"
|