]> git.phdru.name Git - ansible.git/commitdiff
Fix(add-dns-domain): Fix service name
authorOleg Broytman <phd@phdru.name>
Mon, 7 Mar 2022 07:24:26 +0000 (10:24 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 9 Mar 2022 11:54:27 +0000 (14:54 +0300)
Service name for BIND9 is `named`.

playbooks/roles/debian/add-dns-domain/tasks/main.yml
playbooks/roles/debian/named/tasks/main.yml

index cf5e1d2af188f53716fd3a806cfbbdb0b9a6319c..3852ed3b1de2943b91c4ddd714c59656b20d549f 100644 (file)
@@ -37,6 +37,6 @@
     - name: Reload BIND
       become: true
       service:
-        name: bind9
+        name: named
         state: reloaded
   when: not domain_exists.stat.exists
index 3a70042c033fe8098695852692f3227fa05d7642..fa5698b87f865d642c305e4aa5466fcb125e182e 100644 (file)
@@ -32,7 +32,7 @@
     - name: Reload BIND
       become: true
       service:
-        name: bind9
+        name: named
         state: reloaded
 
     - name: Configure resolver