From dc93bc23aa7e0ef1c4ca4adb459e27fb7bbd71a5 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 17 Nov 2016 22:20:56 +0200
Subject: [PATCH] - Correct wildcard of templates inside the role.

---
 tasks/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index 6cd407b..724bb2b 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -43,7 +43,7 @@
 
 - name: Copy configuration templates
   with_fileglob:
-      - templates/unbound/conf.d/*.conf
+      - '{{ role_path }}/templates/unbound/conf.d/*.conf'
       - '{{ playbook_dir }}/templates/unbound/conf.d/*.conf'
   template:
       src: '{{ item }}'
-- 
GitLab