1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-12 11:05:38 +00:00
community.general/plugins
patchback[bot] a7e84579e5
[PR #12168/1e3da48d backport][stable-11] portage: include msg in depclean failure fail_json (#12172)
portage: include msg in depclean failure fail_json (#12168)

cleanup_packages() called module.fail_json(cmd=, rc=, stdout=, stderr=)
without the mandatory msg= argument. When the underlying emerge --depclean
exited non-zero, AnsibleModule.fail_json() itself crashed with
"AnsibleModule.fail_json() missing 1 required positional argument: 'msg'"
before the real failure could reach the controller, leaving users with no
diagnostic about why depclean actually failed.

Same wording style as the sibling install_packages() failure branch
("Packages not installed.").

(cherry picked from commit 1e3da48d70)

Co-authored-by: Yoann Gauthier-Colin <yoann@gwerlas.net>
2026-06-02 21:05:34 +02:00
..
action action/become/cache/callback: adjust import __future__ for Python3 (#9583) 2025-01-20 19:36:21 +01:00
become [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
cache [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
callback [PR #11656/4dad53ab backport][stable-11] counter_enabled callback: honor display_ok_hosts setting (#11666) 2026-03-23 20:34:32 +01:00
connection [PR #11992/2232f8bc backport][stable-11] saltstack connection plugin: add documentation (#12005) 2026-05-07 07:21:20 +02:00
doc_fragments [PR #10874/750adb43 backport][stable-11] pipx: adjustments for pipx 1.8.0 (#10876) 2025-10-05 07:23:57 +02:00
filter [PR #11369/20ba59cc backport][stable-11] Added "See Also" section (#11373) 2026-01-02 15:02:54 +01:00
inventory [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
lookup [PR #11997/240ff653 backport][stable-11] filetree lookup: document RETURN value state (#12009) 2026-05-07 21:58:51 +02:00
module_utils [PR #11911/fba7da43 backport][stable-11] Remove as maintainer (#12042) 2026-05-14 11:03:44 +02:00
modules [PR #12168/1e3da48d backport][stable-11] portage: include msg in depclean failure fail_json (#12172) 2026-06-02 21:05:34 +02:00
plugin_utils [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
test [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00