Enable backports
This commit is contained in:
@@ -17,6 +17,10 @@
|
|||||||
file: path=/etc/apt/sources.list state=absent
|
file: path=/etc/apt/sources.list state=absent
|
||||||
notify: apt-get update
|
notify: apt-get update
|
||||||
|
|
||||||
|
- name: apt - enable backports
|
||||||
|
template: dest=/etc/apt/preferences.d/low-prio-stretch src=low-prio-stretch.j2
|
||||||
|
notify: apt-get update
|
||||||
|
|
||||||
- name: install basic tools
|
- name: install basic tools
|
||||||
apt: pkg="{{ item }}" cache_valid_time=3600 update_cache=yes
|
apt: pkg="{{ item }}" cache_valid_time=3600 update_cache=yes
|
||||||
with_items: "{{ common_basic_packages }}"
|
with_items: "{{ common_basic_packages }}"
|
||||||
|
|||||||
3
templates/low-prio-stretch.j2
Normal file
3
templates/low-prio-stretch.j2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Package: *
|
||||||
|
Pin: release n=stretch
|
||||||
|
Pin-Priority: 100
|
||||||
Reference in New Issue
Block a user