summaryrefslogtreecommitdiff
path: root/roles/install_mesh-announce/tasks/main.yml
blob: ea81a45c669c347290b1c604ca4f7ecdd9457e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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