If the image has been updated on disk, the podman_container isn't
rebuild to use the new container. This change adds an image id check to
the image check to see if the image name and tag are the same but the id
of the image has changed. It should be noted that the podman_container
does not fetch the updated image as it simply checks if it exists. A
user needs to use podman_image with force: True prior to running
podman_container to hit this condition.
Reviewed: https:/ /review. opendev. org/753026 /git.openstack. org/cgit/ openstack/ tripleo- ansible/ commit/ ?id=804d0ae51e8 3600c31e1efdb42 7086044347c600
Committed: https:/
Submitter: Zuul
Branch: master
commit 804d0ae51e83600 c31e1efdb427086 044347c600
Author: Alex Schultz <email address hidden>
Date: Mon Sep 21 09:23:45 2020 -0600
Add image id compare
If the image has been updated on disk, the podman_container isn't container to hit this condition.
rebuild to use the new container. This change adds an image id check to
the image check to see if the image name and tag are the same but the id
of the image has changed. It should be noted that the podman_container
does not fetch the updated image as it simply checks if it exists. A
user needs to use podman_image with force: True prior to running
podman_
Change-Id: Icb718d1c1ea9b8 29a532c37844ffb 3c8b5db5dbe
Related-Bug: #1895974