blob: 68a4aee096e00def350ff906b8ebfed20e4ba84e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- name: Configure WireGuard for wgtor
ansible.builtin.template:
src: templates/wg2.conf.j2
dest: /etc/wireguard/wg2.conf
owner: root
group: root
mode: u+rw,g-rw,o-rw
notify: Restart wgtor
- name: Enable WireGuard service for wgtor
ansible.builtin.service:
name: wg-quick@wg2
enabled: yes
state: started
|