Browse Source

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)
changes/03/755303/3
Alex Schultz 9 months ago
committed by Emilien Macchi
parent
commit
114c9551bf
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      deployment/podman/podman-baremetal-ansible.yaml

+ 1
- 0
deployment/podman/podman-baremetal-ansible.yaml View File

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


Loading…
Cancel
Save