forked from ISTI-ansible-roles/ansible-roles
Default backports in wheezy
This commit is contained in:
parent
0b5928461e
commit
ced733bf1c
|
@ -0,0 +1,3 @@
|
||||||
|
Package: *
|
||||||
|
Pin: release a=wheezy-backports
|
||||||
|
Pin-Priority: 600
|
|
@ -36,6 +36,12 @@
|
||||||
when: is_debian7
|
when: is_debian7
|
||||||
tags: wheezy-backports
|
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
|
- name: Install the backports repository on debian 8
|
||||||
apt_repository: repo='deb http://http.debian.net/debian jessie-backports main' state=present
|
apt_repository: repo='deb http://http.debian.net/debian jessie-backports main' state=present
|
||||||
register: update_apt_cache
|
register: update_apt_cache
|
||||||
|
|
Loading…
Reference in New Issue