Create apt preferences for unstable repo
This commit is contained in:
parent
da729a56b9
commit
4506655973
7
roles/essential-tools/files/99pin-unstable
Normal file
7
roles/essential-tools/files/99pin-unstable
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Package: *
|
||||||
|
Pin: release a=testing
|
||||||
|
Pin-Priority: 900
|
||||||
|
|
||||||
|
Package: *
|
||||||
|
Pin: release a=unstable
|
||||||
|
Pin-Priority: 10
|
|
@ -3,14 +3,20 @@
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: deb http://deb.debian.org/debian unstable main non-free-firmware non-free contrib
|
repo: deb http://deb.debian.org/debian unstable main non-free-firmware non-free contrib
|
||||||
state: present
|
state: present
|
||||||
update_cache: true
|
|
||||||
filename: debian-unstable
|
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
|
- name: Install essential tools
|
||||||
become: yes
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
state: latest
|
state: latest
|
||||||
install_recommends: false
|
install_recommends: false
|
||||||
|
update_cache: true
|
||||||
name:
|
name:
|
||||||
- thunar
|
- thunar
|
||||||
- firefox
|
- firefox
|
||||||
|
|
Loading…
Reference in a new issue