summaryrefslogtreecommitdiff
path: root/roles/setup_batman/tasks/main.yml
blob: dd03ed12d79fe94e9d0474982c58c086877c6651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
- name: load batman-adv kernel module at boot
  copy:
      src: modules-load.d_batman.conf
      dest: /etc/modules-load.d/batman.conf

- name: load batman-adv kernel module
  modprobe:
      name: batman-adv
      state: present

- name: install batctl
  pacman:
      name: batctl
      state: present

- name: add batman netctl config for sites
  template:
      src: netctl_bat.j2
      dest: "/etc/netctl/bat{{ item.name }}"
  with_items: "{{ sites }}"