2017-01-10 10:18:42 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Backports sources list is installed
|
|
|
|
template:
|
2017-03-13 16:47:53 +01:00
|
|
|
src: '{{ ansible_distribution_release }}_backports.list.j2'
|
2017-01-10 10:18:42 +01:00
|
|
|
dest: /etc/apt/sources.list.d/backports.list
|
|
|
|
force: yes
|
|
|
|
backup: yes
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0640"
|
2017-01-10 10:18:42 +01:00
|
|
|
notify: apt update
|
|
|
|
|
|
|
|
- name: Backports configuration
|
|
|
|
copy:
|
2017-03-13 16:47:53 +01:00
|
|
|
src: '{{ ansible_distribution_release }}_backports_preferences'
|
2017-03-24 14:05:29 +01:00
|
|
|
dest: /etc/apt/preferences.d/0-backports-defaults
|
2017-01-10 10:18:42 +01:00
|
|
|
force: yes
|
|
|
|
backup: yes
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0640"
|
2017-01-10 10:18:42 +01:00
|
|
|
notify: apt update
|