feat(bind9): support systemd drop-ins

Keep role configuration namespaced and allow hosts to customize systemd startup.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
volker.raschekandCopilot committed 2026-10-24 16:45:32 +02:00
1 parent 65e088cdd5
commit d7826d46a1
14 files changed
+121 -68

No files matched your search

+6 -6
View File
@@ -2,9 +2,9 @@
- name: "Create config directory of DNS zones"
ansible.builtin.file:
path: "{{ bind_config_directory }}/{{ zone.file | dirname }}"
owner: "{{ bind_unix_user }}"
group: "{{ bind_unix_group }}"
path: "{{ bind9_config_directory }}/{{ zone.file | dirname }}"
owner: "{{ bind9_unix_user }}"
group: "{{ bind9_unix_group }}"
mode: "0755"
state: directory
with_items:
@@ -17,9 +17,9 @@
- name: "Template view {{ view.name }}"
ansible.builtin.template:
src: "{{ inventory_hostname }}/etc/named/{{ zone.file }}.j2"
dest: "{{ bind_config_directory + '/' + zone.file }}"
owner: "{{ bind_unix_user }}"
group: "{{ bind_unix_group }}"
dest: "{{ bind9_config_directory + '/' + zone.file }}"
owner: "{{ bind9_unix_user }}"
group: "{{ bind9_unix_group }}"
mode: "0644"
with_items:
- "{{ view.zones }}"