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

---
- name: create wireguard config for sites
template:
src: wg.conf.j2
dest: /etc/wireguard/wgbackbone.conf
mode: 0400
- name: create wireguard up scripts for sites
template:
src: up.sh.j2
dest: /etc/wireguard/upbackbone.sh
mode: 0744
- name: create wireguard down scripts for sites
template:
src: down.sh.j2
dest: /etc/wireguard/downbackbone.sh
mode: 0744
- name: start and enable wireguard mesh
systemd:
name: wg-quick@wgbackbone.service
enabled: yes
state: started