2017-09-05 12:01:27 +02:00
|
|
|
---
|
|
|
|
- name: install batman-module and linux headers
|
2017-10-11 17:53:20 +02:00
|
|
|
package:
|
2017-09-05 12:01:27 +02:00
|
|
|
name: "{{ item }}"
|
2017-10-11 17:53:20 +02:00
|
|
|
state: present
|
2017-09-05 12:01:27 +02:00
|
|
|
with_items:
|
|
|
|
- linux-headers-amd64
|
|
|
|
- batman-adv-dkms
|
|
|
|
- batctl
|
|
|
|
|
|
|
|
- name: configure batman module to load on system boot
|
|
|
|
template:
|
|
|
|
src: batman-adv.module.conf.j2
|
|
|
|
dest: /etc/modules-load.d/batman-adv.conf
|
2017-10-02 11:21:01 +02:00
|
|
|
|
|
|
|
- name: load batman + dummy module
|
|
|
|
modprobe:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
with_items:
|
|
|
|
- batman-adv
|
|
|
|
- dummy
|