From 619b01ad207995a4b1c2f6976847a4fbab2ad046 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 25 Dec 2016 16:51:30 +0200
Subject: [PATCH] - Validate config during role run (won't restart service with
 a faulty config).

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

diff --git a/tasks/main.yml b/tasks/main.yml
index 73da5c1..f6e5ff5 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -54,6 +54,7 @@
       owner: root
       group: 0
       mode: 0o0644
+      validate: unbound-checkconf
   notify:
       - Restart Unbound
 
-- 
GitLab