aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns/handlers
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-24 16:55:04 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:28:44 +0800
commit30724d5f9f13530d7d81a51e6b040970bab49c00 (patch)
tree088857c66f3acc49f23a206934420b13b55a3a52 /roles/dns/handlers
parentcc494d798101e59b6d43e0e8f68aacee8483c20d (diff)
downloadansible-dfly-vps-30724d5f9f13530d7d81a51e6b040970bab49c00.tar.bz2
dns: reload unbound/nsd instead of restart
Diffstat (limited to 'roles/dns/handlers')
-rw-r--r--roles/dns/handlers/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/dns/handlers/main.yml b/roles/dns/handlers/main.yml
index aab63c8..196bbea 100644
--- a/roles/dns/handlers/main.yml
+++ b/roles/dns/handlers/main.yml
@@ -2,5 +2,11 @@
- name: restart-unbound
command: rcrestart unbound
+- name: reload-unbound
+ command: rcreload unbound
+
- name: restart-nsd
command: rcrestart nsd
+
+- name: reload-nsd
+ command: rcreload nsd