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

Absent state with quadlet should remove quadlet file as well as podman resource.

Open WhyKickAmooCow opened this issue 9 months ago • 3 comments

/kind feature

Description When the state is set to be absent, and quadlet options are set, the expected behavior would be to both remove the quadlet file and podman resource. The current behavior is so just remove the podman resource (image, container, volume, ...).

As a user this would be desirable for me to manage podman deployments purely through this module rather than relying on using the file module to remove the quadlets this module generates. Currently I am achieving this behavior through the use of a role, but think this would be better implemented by the module itself.

I am reasonably new to using Ansible so let me know if there are any issues with this approach or if it would not indeed be expected behavior in the ecosystem.

WhyKickAmooCow avatar May 03 '24 02:05 WhyKickAmooCow