aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/dns/tasks')
-rw-r--r--roles/dns/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/dns/tasks/main.yml b/roles/dns/tasks/main.yml
index 6712c37..04c45f3 100644
--- a/roles/dns/tasks/main.yml
+++ b/roles/dns/tasks/main.yml
@@ -20,13 +20,13 @@
command: >
fetch -o /usr/local/etc/unbound/root.hints
"https://www.internic.net/domain/named.cache"
- notify: restart-unbound
+ notify: reload-unbound
- name: unbound - copy configuration
copy:
src: unbound.conf
dest: /usr/local/etc/unbound/unbound.conf
- notify: restart-unbound
+ notify: reload-unbound
- name: unbound - enable and start service
command: rcenable unbound
@@ -40,7 +40,7 @@
template:
src: nsd.conf.j2
dest: /usr/local/etc/nsd/nsd.conf
- notify: restart-nsd
+ notify: reload-nsd
- name: NSD - check existence of control key/cert
stat:
@@ -61,7 +61,7 @@
src: "zones/{{ item }}.zone.j2"
dest: "/usr/local/etc/nsd/zones/{{ item }}.zone"
with_items: "{{ nsd.zones }}"
- notify: restart-nsd
+ notify: reload-nsd
- name: NSD - enable and start service
command: rcenable nsd