From 920c04bab8cb8e3c0c07d7b19c531c186168de1f Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Mon, 21 Sep 2020 09:26:00 -0600 Subject: [PATCH] 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/753026/ Change-Id: Ia16cee016fb1af7b31e0f1c6da1e059221039ca4 Closes-Bug: #1895974 --- deployment/podman/podman-baremetal-ansible.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/podman/podman-baremetal-ansible.yaml b/deployment/podman/podman-baremetal-ansible.yaml index c648540b15..1fa8534d7c 100644 --- a/deployment/podman/podman-baremetal-ansible.yaml +++ b/deployment/podman/podman-baremetal-ansible.yaml @@ -148,6 +148,7 @@ outputs: podman_image: name: "{{ prefetch_image }}" validate_certs: false + force: true retries: 5 delay: 5 loop_control: