podman_image
don't rebuilt the image if I set a new containerfile
#646
Labels
bug
Something isn't working
/kind bug
Description
If I:
podman_image
, in a playbook, to built an image from a ContainerfileThe image is not built again.
But the requested image is different because the Containerfile is different. So the image should be rebuild in this case.
Steps to reproduce the issue:
Create a playbook and use
podman_image
withstate
tobuild
andbuild.file
to a ContainerfileRun the playbook
Modify the playbook to set
podman_image.build.file
to another ContainerfileRun the playbook again
Describe the results you received:
The image is not build again.
Describe the results you expected:
The image should be build again.
Version of the
containers.podman
collection:Output of
ansible --version
:Output of
podman version
:Package info (e.g. output of
rpm -q podman
orapt list podman
):The text was updated successfully, but these errors were encountered: