From 8799e6c0625101def794e7ffd66d4262a4db6850 Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Mon, 15 Jun 2026 02:44:51 +1000 Subject: [PATCH] Entering DoH\DoT --- playbooks/resolvconf.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/playbooks/resolvconf.yml b/playbooks/resolvconf.yml index 03d4ce3..66e5914 100644 --- a/playbooks/resolvconf.yml +++ b/playbooks/resolvconf.yml @@ -46,4 +46,11 @@ service: name: systemd-resolved state: restarted - #when: systemd_resolved_conf.changed \ No newline at end of file + #when: systemd_resolved_conf.changed + + - name: Force link /etc/resolv.conf to systemd-resolved stub + ansible.builtin.file: + src: /run/systemd/resolve/stub-resolv.conf + dest: /etc/resolv.conf + state: link + force: yes # перебьет файл, созданный Proxmox \ No newline at end of file