simplify adding backports source
This commit is contained in:
parent
98873cc745
commit
e25052af6f
|
@ -18,17 +18,8 @@
|
|||
|
||||
- name: '[APT] - Add backports source'
|
||||
lineinfile:
|
||||
line: "deb http://deb.debian.org/debian {{ ansible_distribution_release }}-backports main contrib non-free"
|
||||
line: "deb http://deb.debian.org/debian {{ ansible_distribution_release }}-backports main"
|
||||
dest: "/etc/apt/sources.list"
|
||||
when: ansible_distribution_release == "bullseye"
|
||||
tags: apt
|
||||
|
||||
- name: '[APT] - Add backports source'
|
||||
lineinfile:
|
||||
line: "deb http://deb.debian.org/debian {{ ansible_distribution_release }}-backports main contrib non-free-firmware"
|
||||
dest: "/etc/apt/sources.list"
|
||||
when: ansible_distribution_release == "bookworm"
|
||||
tags: apt
|
||||
|
||||
- name: '[APT] - Update the repository cache and update all packages to latest version using backports'
|
||||
apt:
|
||||
|
|
Loading…
Reference in New Issue