aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/wireguard
diff options
context:
space:
mode:
Diffstat (limited to 'roles/wireguard')
-rw-r--r--roles/wireguard/tasks/main.yml2
-rw-r--r--roles/wireguard/templates/wg0.conf.j2 (renamed from roles/wireguard/templates/wg0.conf)0
2 files changed, 1 insertions, 1 deletions
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml
index b91ad8a..64b0f76 100644
--- a/roles/wireguard/tasks/main.yml
+++ b/roles/wireguard/tasks/main.yml
@@ -9,7 +9,7 @@
- name: Write wg-quick config file
ansible.builtin.template:
- src: wg0.conf
+ src: wg0.conf.j2
dest: '/etc/wireguard/{{ wg_name }}.conf'
owner: root
group: root
diff --git a/roles/wireguard/templates/wg0.conf b/roles/wireguard/templates/wg0.conf.j2
index fca9a0b..fca9a0b 100644
--- a/roles/wireguard/templates/wg0.conf
+++ b/roles/wireguard/templates/wg0.conf.j2