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.
17 lines
427 B
YAML
17 lines
427 B
YAML
---
|
|
|
|
- name: Restrict backports for apt
|
|
copy:
|
|
dest: "/etc/apt/preferences.d/backports-{{ configuration_name }}"
|
|
owner: root
|
|
group: root
|
|
mode: "u=rw,g=r,o=r"
|
|
content: |
|
|
Package: {{ packages | join(" ") }}
|
|
Pin: release a={{ debian_backports_name }}
|
|
Pin-Priority: {{ priority }}
|
|
notify: update apt cache
|
|
|
|
- name: Flush handlers for backports priority configuration
|
|
meta: flush_handlers
|