diff options
Diffstat (limited to 'roles/setup_batman/tasks/main.yml')
-rw-r--r-- | roles/setup_batman/tasks/main.yml | 18 |
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 }}" |