containers.podman.podman_image_info module – Gather info about images using podman
Note
This module is part of the containers.podman collection (version 1.16.2).
You might already have this collection installed if you are using the ansible
package.
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
.
To use it in a playbook, specify: containers.podman.podman_image_info
.
Synopsis
Gather info about images using
podman
Parameters
Parameter |
Comments |
---|---|
Path to Default: |
|
List of tags or UID to gather info about. If no name is given return info about all images. |
Notes
Note
Podman may required elevated privileges in order to run properly.
Examples
- name: Gather info for all images
containers.podman.podman_image_info:
- name: Gather info on a specific image
containers.podman.podman_image_info:
name: nginx
- name: Gather info on several images
containers.podman.podman_image_info:
name:
- redis
- quay.io/bitnami/wildfly
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
info from all or specified images Returned: always Sample: |