summaryrefslogtreecommitdiff
path: root/roles/install_mesh-announce/tasks/main.yml
blob: 50c51753d40468cb92451097e0aa9cdb01808809 (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
25
---
- name: install mesh-announce dependencies
  pacman:
      name:
          - git
          - lsb-release
          - ethtool
      state: present

- name: clone mesh-announce repo
  git:
      repo: https://github.com/FreifunkMYK/mesh-announce.git
      dest: /opt/mesh-announce

- 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