From 02b35a78421453ae07104ead499ef71edc0c9cbd Mon Sep 17 00:00:00 2001 From: Julian Rother Date: Thu, 9 Jan 2025 21:02:08 +0100 Subject: [PATCH] Fix config cleanup for fresh Bookworm installs --- tasks/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index f4e443d..d7564e7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -9,8 +9,11 @@ - name: delete debian defaults file: - path: /etc/powerdns/named.conf + path: "{{ item }}" state: absent + with_list: + - /etc/powerdns/named.conf + - /etc/powerdns/pdns.d/bind.conf - name: copy powerdns config template: