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
677 B
YAML

---
- name: install wg_prefix_provider dependencies
pacman:
name:
- git
- make
- gcc
state: present
- name: clone wg_prefix_provider repo
git:
repo: https://github.com/FreifunkMYK/wg_prefix_provider.git
dest: /opt/wg_prefix_provider
- name: build wg_prefix_provider
make:
chdir: /opt/wg_prefix_provider
- name: install wg_prefix_provider service
template:
src: wg_prefix_provider.service.j2
dest: /etc/systemd/system/wg_prefix_provider.service
mode: 0644
- name: start and enable wg_prefix_provider service
systemd:
name: wg_prefix_provider
state: started
enabled: yes