summaryrefslogtreecommitdiff
path: root/roles/install_bind/tasks
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-25 14:33:23 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-25 14:33:23 +0100
commitcb3abd557431cc04aef5de1b302bcde25cd81c81 (patch)
tree4fd7058270e4e9d87ccf9778b85e573faccb2cbd /roles/install_bind/tasks
parent62a74b1ed442dc8c8a1224aa8edceeb3ed9c1b84 (diff)
added reload and restart handlers
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