1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Add podman system info module (#922)

Add podman system info module

Signed-off-by: johnsonlien <johnsonlien95@gmail.com>
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>

Co-authored-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
johnsonlien 2025-06-22 03:13:11 -07:00 committed by GitHub
parent f6bd81e820
commit aa20ede71e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 388 additions and 0 deletions

View file

@ -0,0 +1,9 @@
- name: Get Podman system info
containers.podman.podman_system_info:
executable: "{{ test_executable | default('podman') }}"
register: podman_info
- name: Check results
assert:
that:
- podman_info.podman_system_info | length > 0