Switch to using backports instead of pulling packages from unstable

This commit is contained in:
Nils Cant
2020-06-23 17:39:29 +02:00
parent aeb2cf7233
commit 8ed9ca30b5
2 changed files with 4 additions and 20 deletions

View File

@@ -1,23 +1,8 @@
- name: Pin unstable packages
copy:
dest: /etc/apt/preferences.d/limit-unstable
content: "Package: *\nPin: release a=unstable\nPin-Priority: 90"
- name: Install gpg
apt:
name: gpg
- name: Apt keys
apt_key:
keyserver: keyserver.ubuntu.com
id: "{{ item }}"
loop: ["04EE7237B7D453EC", "648ACFD622F3D138"]
- name: Unstable apt repo
- name: Add debian backports
apt_repository:
repo: deb http://deb.debian.org/debian/ unstable main
filename: unstable
repo: deb http://deb.debian.org/debian buster-backports main
filename: backports
- name: Install required packages
apt:
name: ['wireguard', 'wireguard-dkms', 'nftables', 'ndppd']
name: ['wireguard', 'nftables', 'ndppd']