Default backports in wheezy

This commit is contained in:
Tommaso Piccioli 2015-10-12 18:19:23 +02:00
parent 0b5928461e
commit ced733bf1c
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Package: *
Pin: release a=wheezy-backports
Pin-Priority: 600

View File

@ -36,6 +36,12 @@
when: is_debian7
tags: wheezy-backports
- name: Default the backports repository on debian 7
copy: src=backports dest=/etc/apt/preferences.d owner=root group=root mode=644
register: update_apt_cache
when: is_debian7
tags: Default-wheezy-backports
- name: Install the backports repository on debian 8
apt_repository: repo='deb http://http.debian.net/debian jessie-backports main' state=present
register: update_apt_cache