1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00
ansible-podman-collections/plugins
igor-belousov 5416c5dfd8
fix(podman_prune): set top-level changed status (#997)
* fix(podman_prune): set top-level changed status

The module was returning changed status inside nested dicts,
but Ansible expects it at the top level of the result.

Before: {"image": {"changed": true, ...}} -> Ansible sees changed=false
After:  {"changed": true, "image": {...}} -> Ansible sees changed=true
Signed-off-by: Igor Belousov <igor-belousov@users.noreply.github.com>

* Update plugins/modules/podman_prune.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Igor Belousov <igor-belousov@users.noreply.github.com>

---------

Signed-off-by: Igor Belousov <igor-belousov@users.noreply.github.com>
Co-authored-by: Igor Belousov <igor-belousov@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-15 13:04:16 +02:00
..
become Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
connection Rewrite podman and buildah connections (#962) 2025-09-11 20:35:09 +03:00
inventory Add inventory plugins for buildah and podman (#963) 2025-08-13 16:48:50 +03:00
module_utils add passthrough and none log driver options (#988) 2025-11-04 23:03:44 +02:00
modules fix(podman_prune): set top-level changed status (#997) 2026-01-15 13:04:16 +02:00