aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/wireguard/tasks/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-20 23:02:06 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-20 23:02:08 +0200
commitc054d22c4818d916ac6dd9c8d7a7a2c614408e17 (patch)
treec0239045b1587cd950fd1d777f0c84fe5c23aa92 /roles/wireguard/tasks/main.yml
parentadd ansible_managed comment to templates (diff)
downloadinfra-ansible-c054d22c4818d916ac6dd9c8d7a7a2c614408e17.tar.gz
infra-ansible-c054d22c4818d916ac6dd9c8d7a7a2c614408e17.zip
append .j2 extension to templates
I saw a good point somewhere that it should help with syntax highlighting.
Diffstat (limited to 'roles/wireguard/tasks/main.yml')
-rw-r--r--roles/wireguard/tasks/main.yml2
1 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