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
Adam Williamson 7d7445d29b
podman pod info: handle return being list in Podman 5 (#713)
Fixes #712

Podman 5 changed the output of `podman pod info` (when run on a
single pod) from being a dict to being a list of dicts:

https://github.com/containers/podman/pull/21514

this should handle both ways. Unfortunately not sure how to add
a test for this as I can't see a unit test that mocks the output
of the command, only the integration test that gets real live
output, and I'm not sure how to get that test run with Podman 5.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-17 21:47:19 +02:00
..
become Change yes/no to true/false in the modules (#561) 2023-03-08 23:28:52 +02:00
connection fix for buildah improper remote target (#540) 2023-01-18 23:55:36 +02:00
module_utils podman pod info: handle return being list in Podman 5 (#713) 2024-02-17 21:47:19 +02:00
modules Fix broken example for podman_generate_systemd (#708) 2024-02-04 11:58:28 +02:00