From 7191903801e706b8cce43b958c73f961c93d1c89 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 18 Feb 2018 10:08:36 -0600 Subject: [PATCH] roles/named: Restart daemon after modifying config The `named` daemon does not seem to pick up all changes to the configuration file during a graceful reload. To avoid strange states, the daemon is now fully restarted after the configuration file is regenerated. --- roles/named/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/named/tasks/main.yml b/roles/named/tasks/main.yml index 1588f16..dfdb11d 100644 --- a/roles/named/tasks/main.yml +++ b/roles/named/tasks/main.yml @@ -21,7 +21,7 @@ owner: root group: named validate: named-checkconf %s - notify: reload named + notify: restart named # TODO: What about other OS/init setups? - name: ensure named environment variables are set