You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
507 B
YAML

---
- name: Register debian unstable for apt
copy:
dest: "/etc/apt/sources.list.d/unstable.list"
owner: root
group: root
mode: "u=rw,g=r,o=r"
content: "deb http://deb.debian.org/debian/ unstable main"
notify: update apt cache
- name: Restrict unstable for apt
copy:
dest: "/etc/apt/preferences.d/unstable"
owner: root
group: root
mode: "u=rw,g=r,o=r"
content: |
Package: *
Pin: release a=unstable
Pin-Priority: 90
notify: update apt cache