Force container fetch

If a user uses :latest, the container is not updated when running the
podman_image nor is it updated by podman_container. Since
podman_container will only pull if the container image doesn't exist, we
need to force the container pull here to ensure we get updated
containers as part of our deployment and updates processes.

Depends-On: https://review.opendev.org/#/c/753778
Change-Id: Ia16cee016fb1af7b31e0f1c6da1e059221039ca4
Closes-Bug: #1895974
(cherry picked from commit 920c04bab8)
This commit is contained in:
Alex Schultz 2020-09-21 09:26:00 -06:00 committed by Emilien Macchi
parent ef4a48434c
commit 114c9551bf
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ outputs:
podman_image:
name: "{{ prefetch_image }}"
validate_certs: false
force: true
retries: 5
delay: 5
loop_control: