From 6d534689471daf6865e512bf58b5db381f996c53 Mon Sep 17 00:00:00 2001 From: Rene Mewissen Date: Thu, 25 Jul 2024 11:07:26 +0200 Subject: [PATCH] do not overwrite with template, if file already exists --- roles/nameserver/tasks/install_powerdns_recursor.yml | 1 + roles/nameserver/tasks/install_unbound.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/nameserver/tasks/install_powerdns_recursor.yml b/roles/nameserver/tasks/install_powerdns_recursor.yml index 4a414bc..396f7f7 100644 --- a/roles/nameserver/tasks/install_powerdns_recursor.yml +++ b/roles/nameserver/tasks/install_powerdns_recursor.yml @@ -10,6 +10,7 @@ mode: "0644" owner: "root" group: "root" + force: no - name: nameserver | powerdns-recursor | disable unbound service: diff --git a/roles/nameserver/tasks/install_unbound.yml b/roles/nameserver/tasks/install_unbound.yml index 3e3061c..1265bd0 100644 --- a/roles/nameserver/tasks/install_unbound.yml +++ b/roles/nameserver/tasks/install_unbound.yml @@ -11,6 +11,7 @@ owner: "root" group: "root" validate: "unbound-checkconf %s" + force: no - name: nameserver | unbound | disable service pdns-resolver service: