diff --git a/tasks/main.yml b/tasks/main.yml index e79b0fd..2739330 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -102,7 +102,7 @@ - name: Generate WireGuard configuration file template: - src: wg.conf.j2 + src: etc/wireguard/wg.conf.j2 dest: "{{ wireguard_remote_directory }}/{{ wireguard_interface }}.conf" owner: "{{ wireguard_conf_owner }}" group: "{{ wireguard_conf_group }}" diff --git a/templates/wg.conf.j2 b/templates/etc/wireguard/wg.conf.j2 similarity index 100% rename from templates/wg.conf.j2 rename to templates/etc/wireguard/wg.conf.j2