From a043cf2467a99dfb819bc5856119b2507faf0a4e Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 21:50:46 +0200 Subject: [PATCH] [PR #12047/eb69d25e backport][stable-10] apk: document non-interactive mode requirement (#12049) apk: document non-interactive mode requirement (#12047) * apk: document non-interactive mode requirement * apk: fix file path markup in documentation Change file path markup from E() to C() in the notes section. --------- (cherry picked from commit eb69d25e45c09d854dccabf8d65c8e62c00e0fb1) Co-authored-by: Francisco Pereira <113396399+Francisco-xiq@users.noreply.github.com> Co-authored-by: Felix Fontein --- plugins/modules/apk.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/modules/apk.py b/plugins/modules/apk.py index f6f33f6ed8..744a157df0 100644 --- a/plugins/modules/apk.py +++ b/plugins/modules/apk.py @@ -81,6 +81,10 @@ notes: - O(name) and O(upgrade) are mutually exclusive. - When used with a C(loop:) each package will be processed individually, it is much more efficient to pass the list directly to the O(name) option. + - This module expects C(apk) to run in non-interactive mode. On Chimera Linux, C(apk) runs interactively by default, + which will cause this module to hang. Interactive mode can be configured in C(/etc/apk/config). Even though not + officially supported, other systems using C(apk) should be able to use this module, as long as C(apk) is running + in non-interactive mode by default. """ EXAMPLES = r"""