basics.yml aktualisiert

This commit is contained in:
olli 2023-09-12 14:07:39 +02:00
parent c4df7806a5
commit 32bb529734

View File

@ -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