summaryrefslogtreecommitdiff
path: root/roles/install_mesh-announce/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_mesh-announce/tasks')
-rw-r--r--roles/install_mesh-announce/tasks/main.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/install_mesh-announce/tasks/main.yml b/roles/install_mesh-announce/tasks/main.yml
new file mode 100644
index 0000000..ea81a45
--- /dev/null
+++ b/roles/install_mesh-announce/tasks/main.yml
@@ -0,0 +1,24 @@
+---
+- name: clone mesh-announce repo
+ git:
+ repo: https://github.com/FreifunkMYK/mesh-announce.git
+ dest: /opt/mesh-announce
+
+- name: install mesh-announce dependencies
+ pacman:
+ name:
+ - lsb-release
+ - ethtool
+ state: present
+
+- name: create respondd service
+ template:
+ src: respondd.service.j2
+ dest: /etc/systemd/system/respondd.service
+ mode: 0644
+
+- name: start and enable respondd service
+ systemd:
+ name: respondd
+ state: started
+ enabled: yes