aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/dns/tasks/main.yml')
-rw-r--r--roles/dns/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/dns/tasks/main.yml b/roles/dns/tasks/main.yml
index d6bfb2f..f414e59 100644
--- a/roles/dns/tasks/main.yml
+++ b/roles/dns/tasks/main.yml
@@ -68,11 +68,11 @@
path: /usr/local/etc/nsd/zones
state: directory
-- name: NSD - copy zone files
+- name: NSD - generate zone files
template:
src: "zones/{{ item }}.zone.j2"
dest: "/usr/local/etc/nsd/zones/{{ item }}.zone"
- with_items: "{{ nsd.zones }}"
+ with_items: "{{ domains }}"
notify: reload-nsd
- name: NSD - enable and start service