ansible-podman-collections
ansible-podman-collections copied to clipboard
Provide podman_prune module
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
This was already briefly mentioned in https://github.com/containers/ansible-podman-collections/discussions/307#discussioncomment-1375590, however, there isn't an official feature request for this until now.
Similar to docker_prune
, this would allow removing various items, such as unused images.
Currently if you regularly deploy new images as far as I can tell there is no way to clean up old images other than running podman CLI e.g. via command
module rather than using a module from this collection.