From 0ff12c6121bf94f1357e4af2e6053aeac89c215d Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 9 Aug 2026 00:36:27 +0200 Subject: [PATCH] Replace APT cache update task with command to ensure non-interactive execution --- playbooks/apt-migrate-to-trixie.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/playbooks/apt-migrate-to-trixie.yml b/playbooks/apt-migrate-to-trixie.yml index 772e853..485ac3d 100644 --- a/playbooks/apt-migrate-to-trixie.yml +++ b/playbooks/apt-migrate-to-trixie.yml @@ -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