]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
nameserver: don't create /etc/<X>/named if it doesn't exist
authorDan Mick <dmick@ibm.com>
Fri, 13 Mar 2026 01:10:00 +0000 (18:10 -0700)
committerDavid Galloway <david.galloway@ibm.com>
Fri, 13 Mar 2026 15:13:52 +0000 (11:13 -0400)
It should exist.  This would have caught the error that
X is sysconfig on el systems and default on deb systems.

Signed-off-by: Dan Mick <dmick@ibm.com>
roles/nameserver/tasks/config.yml

index 430133d1e67c5f7adc0209078145b8e35f11833b..58a560b5eb460aae7c539879ebc504ded484b3f3 100644 (file)
@@ -19,7 +19,7 @@
     regexp: '^OPTIONS='
     line: "OPTIONS=\"{{ named_conf_daemon_opts }}\""
     state: present
-    create: True
+    create: false
   notify: restart named
 
 - name: Configure SELinux to allow named to write to master zone files