summaryrefslogtreecommitdiff
path: root/roles/setup_batman/tasks/main.yml
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-03 09:46:42 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-03 09:46:42 +0200
commitd82f8524972086862f64750f325ba067ea993d86 (patch)
treeaa7634db168da40d108e43c7c30fbce299bdc7ab /roles/setup_batman/tasks/main.yml
parent90a8a597eaa3a008eac946460b5c621eafa8ec62 (diff)
fastd working
Diffstat (limited to 'roles/setup_batman/tasks/main.yml')
-rw-r--r--roles/setup_batman/tasks/main.yml18
1 files changed, 4 insertions, 14 deletions
diff --git a/roles/setup_batman/tasks/main.yml b/roles/setup_batman/tasks/main.yml
index b8f49da..dd03ed1 100644
--- a/roles/setup_batman/tasks/main.yml
+++ b/roles/setup_batman/tasks/main.yml
@@ -14,18 +14,8 @@
name: batctl
state: present
-- name: name ffmyk routing table
- lineinfile:
- path: /etc/iproute2/rt_tables
- line: 42 ffmyk
-
-- name: copy ffmyk iproute config script
- copy:
- src: ffmyk-iproute.sh
- dest: /usr/local/bin/ffmyk-iproute.sh
- mode: 0744
-
-- name: add netctl config
+- name: add batman netctl config for sites
template:
- src: netctl_bat0.j2
- dest: /etc/netctl/bat0
+ src: netctl_bat.j2
+ dest: "/etc/netctl/bat{{ item.name }}"
+ with_items: "{{ sites }}"