]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/debian/named/tasks/main.yml
Feat(debian/named): Insert IP address
[ansible.git] / playbooks / roles / debian / named / tasks / main.yml
index 3a70042c033fe8098695852692f3227fa05d7642..9bc3d0089dd71ff8d42cbbd427793d1f0e186c90 100644 (file)
@@ -22,7 +22,7 @@
 
     - name: Configure BIND
       become: true
-      copy:
+      template:
         src: named.conf.options
         dest: /etc/bind/named.conf.options
         owner: bind
@@ -32,7 +32,7 @@
     - name: Reload BIND
       become: true
       service:
-        name: bind9
+        name: named
         state: reloaded
 
     - name: Configure resolver