diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-03-17 22:35:38 +0100 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-03-17 22:35:38 +0100 |
commit | 4b97c64f947662cd4e2c233a51114c1ff3a9815c (patch) | |
tree | 07882522000071bfe7ffe7b10e773198bd6b06dd /roles/setup_batman/tasks | |
parent | 711f968dda1acca7d6b2a86e28a1535449938941 (diff) |
updated setup_fastd playbook
added features:
- install_bind
- install_dhcp
- install_fastd
- setup_batman
Diffstat (limited to 'roles/setup_batman/tasks')
-rw-r--r-- | roles/setup_batman/tasks/main.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/setup_batman/tasks/main.yml b/roles/setup_batman/tasks/main.yml new file mode 100644 index 0000000..c3e8372 --- /dev/null +++ b/roles/setup_batman/tasks/main.yml @@ -0,0 +1,26 @@ +--- +- name: load batman-adv kernel module at boot + copy: + src: modules-load.d_batman.conf + dest: /etc/modules-load.d/batman.conf + +- name: install batctl + pacman: + 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 + template: + src: netctl_bat0.j2 + dest: /etc/netctl/bat0 |