Create apt preferences for unstable repo

This commit is contained in:
Oliver Traber 2023-12-03 21:24:38 +01:00
parent da729a56b9
commit 4506655973
Signed by: Bluemedia
GPG key ID: C0674B105057136C
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,7 @@
Package: *
Pin: release a=testing
Pin-Priority: 900
Package: *
Pin: release a=unstable
Pin-Priority: 10

View file

@ -3,14 +3,20 @@
apt_repository:
repo: deb http://deb.debian.org/debian unstable main non-free-firmware non-free contrib
state: present
update_cache: true
filename: debian-unstable
- name: Create apt preferences file for unstable repo
become: yes
copy:
src: "{{ role_path }}/files/99pin-unstable"
dest: "/etc/apt/preferences.d/"
- name: Install essential tools
become: yes
apt:
state: latest
install_recommends: false
update_cache: true
name:
- thunar
- firefox