You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
648 B
YAML

---
- name: install mesh-announce dependencies
pacman:
name:
- git
- lsb-release
- ethtool
state: present
when: sites | length > 0
- name: clone mesh-announce repo
git:
repo: https://github.com/FreifunkMYK/mesh-announce.git
dest: /opt/mesh-announce
when: sites | length > 0
- name: create respondd service
template:
src: respondd.service.j2
dest: /etc/systemd/system/respondd.service
mode: 0644
when: sites | length > 0
- name: start and enable respondd service
systemd:
name: respondd
state: started
enabled: yes
when: sites | length > 0