From c054d22c4818d916ac6dd9c8d7a7a2c614408e17 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 20 Aug 2023 23:02:06 +0200 Subject: append .j2 extension to templates I saw a good point somewhere that it should help with syntax highlighting. --- roles/wireguard/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/wireguard/tasks') 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 -- cgit v1.2.3