From 32bb5297344e8bdb19ac20ba7c4f03600133304a Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 12 Sep 2023 14:07:39 +0200 Subject: [PATCH] basics.yml aktualisiert --- basics.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/basics.yml b/basics.yml index f5c0161..453f4c2 100644 --- a/basics.yml +++ b/basics.yml @@ -105,6 +105,31 @@ install_recommends: no when: ansible_distribution_release is match("bookworm") + - name: set testing repo pinning for Debian 12 - bookworm (needed by dnscrypt-proxy) + blockinfile: + path: /etc/apt/preferences.d/pinning.pref + create: yes + mode: "0444" + owner: root + group: root + marker: "# {mark} ANSIBLE MANAGED BLOCK" + block: | + Package: * + Pin: release a=stable + Pin-Priority: 900 + + Package: * + Pin: release a=testing + Pin-Priority: 100 + when: ansible_distribution_release is match("bookworm") + + - name: add testing repo for Debian 12 - bookworm (needed by dnscrypt-proxy) + ansible.builtin.apt_repository: + repo: "deb https://deb.debian.org/debian/ testing main" + state: present + filename: testing + when: ansible_distribution_release is match("bookworm") + - name: check if this is a mint system stat: path: /etc/linuxmint/mintSystem.conf