ansible-podman-collections icon indicating copy to clipboard operation
ansible-podman-collections copied to clipboard

Provide podman_prune module

Open Nothing4You opened this issue 2 years ago • 0 comments

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.

Nothing4You avatar Dec 06 '21 02:12 Nothing4You