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.
Path to podman executable if it is not in the $PATH on the machine running podman
Default:"podman"
name
list / elements=string
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: