diff --git a/tasks/configure.yml b/tasks/configure.yml index f9d5b6e..5ff3431 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -1,7 +1,7 @@ --- - name: Ensure Wireguard server is configure template: - src: templates/wireguard_server.conf + src: templates/wireguard_server.conf.j2 dest: "/etc/wireguard/{{ interface_name }}.conf" notify: - Restart Wireguard service diff --git a/templates/wireguard_server.conf b/templates/wireguard_server.conf.j2 similarity index 100% rename from templates/wireguard_server.conf rename to templates/wireguard_server.conf.j2