summaryrefslogtreecommitdiff
path: root/roles/install_bind/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_bind/tasks')
-rw-r--r--roles/install_bind/tasks/main.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/roles/install_bind/tasks/main.yml b/roles/install_bind/tasks/main.yml
index 31a833c..a7391e5 100644
--- a/roles/install_bind/tasks/main.yml
+++ b/roles/install_bind/tasks/main.yml
@@ -15,10 +15,4 @@
template:
src: named.conf.j2
dest: /etc/named.conf
- register: named_conf
-
-- name: reload bind
- when: named_conf.changed
- systemd:
- name: named.service
- state: reloaded
+ notify: reload bind