remove incomplete sources lists

master
neingeist 6 years ago
parent 5df2b1ac11
commit 5f5937d413

@ -2,11 +2,21 @@
apt_repository:
filename: backports
repo: "deb http://ftp.de.debian.org/debian {{ansible_distribution_release}}-backports main contrib non-free"
- name: remove incomplete backports apt list
apt_repository:
filename: backports
repo: "deb http://ftp.de.debian.org/debian {{ansible_distribution_release}}-backports main"
state: absent
- name: install backports sources apt list
apt_repository:
filename: backports
repo: "deb-src http://ftp.de.debian.org/debian {{ansible_distribution_release}}-backports main contrib non-free"
- name: remove incomplete backports sources apt list
apt_repository:
filename: backports
repo: "deb-src http://ftp.de.debian.org/debian {{ansible_distribution_release}}-backports main"
state: absent
- name: remove obsolete apt lists
file: path=/etc/apt/sources.list.d/{{ item }}-backports.list state=absent

Loading…
Cancel
Save