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.

26 lines
607 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 {{ debian_repository_mirror }} 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: {{ debian_unstable_priority }}
notify: update apt cache
- name: Flush handlers for unstable repository
meta: flush_handlers