From fb6d0af591ca02569b6303e43ec2047726311283 Mon Sep 17 00:00:00 2001 From: olli <> Date: Tue, 8 Oct 2024 12:13:57 +0200 Subject: [PATCH] no name res --- basics.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/basics.yml b/basics.yml index 8419a98..1b08048 100644 --- a/basics.yml +++ b/basics.yml @@ -109,6 +109,13 @@ update_cache: yes install_recommends: no when: ansible_distribution_release is match("bookworm") + register: resolved + + - name: Restart systemd-resolved + service: + name: systemd-resolved + state: restarted + when: resolved.changed - name: set testing repo pinning for Debian 12 - bookworm (needed by dnscrypt-proxy) blockinfile: