basics.yml aktualisiert
This commit is contained in:
parent
c4df7806a5
commit
32bb529734
25
basics.yml
25
basics.yml
@ -105,6 +105,31 @@
|
|||||||
install_recommends: no
|
install_recommends: no
|
||||||
when: ansible_distribution_release is match("bookworm")
|
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
|
- name: check if this is a mint system
|
||||||
stat:
|
stat:
|
||||||
path: /etc/linuxmint/mintSystem.conf
|
path: /etc/linuxmint/mintSystem.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user