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.
25 lines
532 B
YAML
25 lines
532 B
YAML
---
|
|
- name: create wireguard config for wgmyk
|
|
template:
|
|
src: wg.conf.j2
|
|
dest: /etc/wireguard/wgmyk.conf
|
|
mode: 0400
|
|
|
|
- name: create wireguard up scripts for wgmyk
|
|
template:
|
|
src: up.sh.j2
|
|
dest: /etc/wireguard/upmyk.sh
|
|
mode: 0744
|
|
|
|
- name: create wireguard down scripts for wgmyk
|
|
template:
|
|
src: down.sh.j2
|
|
dest: /etc/wireguard/downmyk.sh
|
|
mode: 0744
|
|
|
|
- name: start and enable wireguard mesh
|
|
systemd:
|
|
name: wg-quick@wgmyk.service
|
|
enabled: yes
|
|
state: started
|