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: