diff --git a/tasks/main.yml b/tasks/main.yml
index 5c09bb9933d07532905002b3770b5bf4981488ab..229bb3530b65b7d99b0a3ae0fb1b3382210e9366 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -50,7 +50,7 @@
 
 - name: Copy configuration templates
   with_fileglob:
-      - templates/nsd/conf.d/*
+      - '{{ role_path }}/templates/nsd/conf.d/*'
       - '{{ playbook_dir }}/templates/nsd/conf.d/*'
   template:
       src: '{{ item }}'
@@ -63,7 +63,7 @@
 
 - name: Copy zones
   with_fileglob:
-      - templates/nsd/zones/*
+      - '{{ role_path }}/templates/nsd/zones/*'
       - '{{ playbook_dir }}/templates/nsd/zones/*'
   template:
       src: '{{ item }}'