From 6d1d0ae4a8b0abd640b9d2b243f37be995aeded8 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Fri, 1 Sep 2017 21:42:24 +0200 Subject: [PATCH] Restart NSD when zone configuration has changed This is necessary when a zone is added or removed: simply reloading NSD is apparently not enough for it to take notice. --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 3a7fb66..2ed22a7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -16,6 +16,7 @@ notify: - rebuild nsd database - reload nsd database + - restart nsd - name: Create base nsd configuration file template: src=config.j2 dest="{{ nsd_config_dir }}/nsd.conf" owner=root group=root mode=0644 validate='nsd-checkconf %s'