Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
Anthony Rose 2023-02-23 12:17:52 +00:00
commit 692b932154
2 changed files with 5 additions and 3 deletions

View file

@ -5,7 +5,7 @@ Components: main non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Types: deb deb-src
URIs: http://security.debian.org/debian-security/
URIs: http://security.debian.org/debian-security
Suites: bookworm-security
Components: main non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

View file

@ -41,11 +41,13 @@
dest: "/etc/apt/sources.list.d/debian.sources"
when: ansible_distribution_release == "bookworm"
- name: Remove /etc/apt/sources.list for Debian 12
- name: Empty /etc/apt/sources.list for Debian 12
become: true
ansible.builtin.file:
ansible.builtin.lineinfile:
path: /etc/apt/sources.list
regexp: ".*"
state: absent
create: yes
when: ansible_distribution_release == "bookworm"
- name: Update APT cache