containers / ansible-podman-collections

Repository for Ansible content that can include playbooks, roles, modules, and plugins for use with the Podman tool
GNU General Public License v3.0
263 stars 142 forks source link

Add podman search #770

Closed derekwaters closed 4 months ago

derekwaters commented 4 months ago

This change adds a new podman_search module. This is intended to replicate the function of 'podman search' command line option. It allows Ansible users to search remote registries for matching container images, and return registry information about those matches. This can include a list of available tags for the remote image.

The original intent of this change was to allow an Ansible user to find out what tags were available for an image so the latest image could be pulled (when there is no 'latest' tag) using a filter of type: "community.general.version_sort | last"

sshnaidm commented 4 months ago

Thanks for this great contribution! For running on this patch, need to add github workflow file, but I can do it in followup.

sshnaidm commented 4 months ago

Awesome! Thanks for your contribution!