Replace APT cache update task with command to ensure non-interactive execution

This commit is contained in:
2026-08-09 00:36:27 +02:00
parent ba45cfd9fe
commit 0ff12c6121
+4 -3
View File
@@ -91,9 +91,10 @@
when: enable_backports and pin_backports_low
- name: APT-Cache aktualisieren
ansible.builtin.apt:
update_cache: yes
cache_valid_time: "{{ apt_cache_valid_time }}"
ansible.builtin.command: apt-get update # noqa: command-instead-of-module
changed_when: false
environment:
DEBIAN_FRONTEND: noninteractive
- name: Verifikation - zeigen, ob Suites auf trixie stehen
ansible.builtin.command: apt-cache policy