blob: a15530060021ba90662a1a287cdc1f385fcef6e5 (
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
26
27
28
29
|
---
- 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
|