aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-05 23:59:47 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:35:08 +0800
commitd3a29a6de55c8b20a9b6b7a215cbaf6ded8d0b96 (patch)
tree405e00e0b7d6190f1ac521ee3271fa5f5e3b1558
parent9349f5739159185afc54bbd902bd9cbe427010dd (diff)
downloadansible-dfly-vps-d3a29a6de55c8b20a9b6b7a215cbaf6ded8d0b96.tar.bz2
dns/nsd: notify reload-nsd
-rw-r--r--roles/dns/tasks/nsd-zone.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/dns/tasks/nsd-zone.yml b/roles/dns/tasks/nsd-zone.yml
index 960b230..865aa8c 100644
--- a/roles/dns/tasks/nsd-zone.yml
+++ b/roles/dns/tasks/nsd-zone.yml
@@ -29,3 +29,4 @@
src: "{{ zonefile }}"
dest: "/usr/local/etc/nsd/zones/{{ domain }}.zone"
validate: "nsd-checkzone {{ domain }} %s"
+ notify: reload-nsd