# containers.podman.podman_system_info module – Get podman system information from host machine

Note

This module is part of the containers.podman collection (version 1.20.0).

It is not included in `ansible-core`. To check whether it is installed, run `ansible-galaxy collection list`.

To install it, use: `ansible-galaxy collection install containers.podman`. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: `containers.podman.podman_system_info`.

## Synopsis

- Runs “podman system info” on host machine

## Requirements

The below requirements are needed on the host that executes this module.

- Podman installed on host

## Parameters

Parameter | Comments
--- | ---
executable string | Path to `podman` executable if it is not in the `$PATH` on the machine running `podman` Default: `"podman"`

## Examples

    - name: Get Podman system information
      containers.podman.podman_system_info:

    - name: Get Podman system information into a variable
      containers.podman.podman_system_info:
      register: podman_info
    - name: Printing Podman System info
      debug:
        msg: "{{ podman_info['podman_system_info'] }}"

## Return Values

Common return values are documented here, the following are the fields unique to this module:

Key | Description
--- | ---

podman_system_info

dictionary

System information from podman

Returned: always

Sample: `{"host": {"arch": "amd64", "buildahVersion": "1.40.1", "cgroupControllers": ["cpu", "io", "memory", "pids"], "cgroupManager": "systemd", "cgroupVersion": "v2", "conmon": {"package": "conmon-2.1.13-1.fc41.x86_64", "path": "/usr/bin/conmon", "version": "conmon version 2.1.13, commit "}, "cpuUtilization": {"idlePercent": 92.12, "systemPercent": 2.15, "userPercent": 5.73}, "cpus": 12, "databaseBackend": "boltdb", "distribution": {"distribution": "fedora", "variant": "workstation", "version": "41"}, "eventLogger": "journald", "freeLocks": 897, "hostname": "user.remote", "idMappings": {"gidmap": [{"container_id": 0, "host_id": 1000, "size": 1}, {"container_id": 1, "host_id": 100000, "size": 65536}], "uidmap": [{"container_id": 0, "host_id": 1000, "size": 1}, {"container_id": 1, "host_id": 100000, "size": 65536}]}, "kernel": "6.14.9-200.fc41.x86_64", "linkmode": "dynamic", "logDriver": "journald", "memFree": 3055095808, "memTotal": 67157032960, "networkBackend": "netavark", "networkBackendInfo": {"backend": "netavark", "dns": {"package": "aardvark-dns-1.15.0-1.fc41.x86_64", "path": "/usr/libexec/podman/aardvark-dns", "version": "aardvark-dns 1.15.0"}, "package": "netavark-1.15.2-1.fc41.x86_64", "path": "/usr/libexec/podman/netavark", "version": "netavark 1.15.2"}, "ociRuntime": {"name": "crun", "package": "crun-1.21-1.fc41.x86_64", "path": "/usr/bin/crun", "version": "crun version 1.21..."}, "os": "linux", "pasta": {"executable": "/usr/bin/pasta", "package": "passt-0^20250611.g0293c6f-1.fc41.x86_64", "version": "pasta 0^20250611.g0293c6f-1.fc41.x86_64\nCopyright Red Hat\n..."}, "remoteSocket": {"exists": true, "path": "/run/user/1000/podman/podman.sock"}, "rootlessNetworkCmd": "pasta", "security": {"apparmorEnabled": false, "capabilities": "CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,...", "rootless": true, "seccompEnabled": true, "seccompProfilePath": "/usr/share/containers/seccomp.json", "selinuxEnabled": true}, "serviceIsRemote": false, "slirp4netns": {"executable": "/usr/bin/slirp4netns", "package": "slirp4netns-1.3.1-1.fc41.x86_64", "version": "slirp4netns version 1.3.1\ncommit..."}, "swapFree": 1911504896, "swapTotal": 8589930496, "uptime": "115h 11m 51.00s (Approximately 3.88 days)", "variant": ""}, "plugins": {"authorization": null, "log": ["k8s-file", "none", "passthrough", "journald"], "network": ["bridge", "macvlan", "ipvlan"], "volume": ["local"]}, "registries": {"search": ["registry.fedoraproject.org", "registry.access.redhat.com", "docker.io"]}, "store": {"configFile": "/home/user/.config/containers/storage.conf", "containerStore": {"number": 6, "paused": 0, "running": 1, "stopped": 5}, "graphDriverName": "overlay", "graphOptions": {"overlay.mountopt": "nodev"}, "graphRoot": "/home/user/.local/share/containers/storage", "graphRootAllocated": 502921060352, "graphRootUsed": 457285541888, "graphStatus": {"Backing Filesystem": "extfs", "Native Overlay Diff": "false", "Supports d_type": "true", "Supports shifting": "true", "Supports volatile": "true", "Using metacopy": "false"}, "imageCopyTmpDir": "/var/tmp", "imageStore": {"number": 859}, "runRoot": "/run/user/1000/containers", "transientStore": false, "volumePath": "/storage/containers/storage/volumes"}, "version": {"APIVersion": "5.5.1", "BuildOrigin": "Fedora Project", "Built": 1749081600, "BuiltTime": "Thu Jun 5 03:00:00 2025", "GitCommit": "850db76dd78a0641eddb9ee19ee6f60d2c59bcfa", "GoVersion": "go1.23.9", "Os": "linux", "OsArch": "linux/amd64", "Version": "5.5.1"}}`

### Authors

- Johnson Lien (@johnsonlien)

### Collection links

- Issue Tracker
- Repository (Sources)