✨ add support for debian 13 trixie
This commit is contained in:
parent
7fa4e25670
commit
d881ab0eba
4 changed files with 41 additions and 15 deletions
13
tasks/remove-obsolete-apt-lists.yml
Normal file
13
tasks/remove-obsolete-apt-lists.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
- name: remove obsolete apt lists
|
||||
file: path=/etc/apt/sources.list.d/{{ item }}-backports.list state=absent
|
||||
with_items:
|
||||
- jessie
|
||||
- stretch
|
||||
- name: remove obsolete apt list entries
|
||||
lineinfile: path=/etc/apt/sources.list regexp="{{ item }}-backports" state=absent
|
||||
with_items:
|
||||
- jessie
|
||||
- stretch
|
||||
- name: remove obsolete backports.list
|
||||
file: path=/etc/apt/sources.list.d/backports.list state=absent
|
||||
when: ansible_distribution_major_version|int >= 13
|
Loading…
Add table
Add a link
Reference in a new issue