瀏覽代碼

due to 31/32 split, pull clair image separately

Grega Bremec 3 天之前
父節點
當前提交
9072cd0e6e
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      playbooks/33-clair-deploy.yml

+ 6 - 0
playbooks/33-clair-deploy.yml

@@ -79,6 +79,12 @@
       changed_when:
         - not "already exists" in pg_ext.stderr
 
+    - name: Pull all the images if necessary.
+      containers.podman.podman_image:
+        name: "{{ registry_host }}/quay/clair-rhel8:v{{ quay_version }}"
+        pull: yes
+        state: present
+
     # TODO: Make loop labels nicer.
     - name: Patch Quay config if necessary.
       ansible.builtin.lineinfile: