diff --git a/ansible/roles/assets/tasks/containerimages.yml b/ansible/roles/assets/tasks/containerimages.yml index ee70631..e028ee9 100644 --- a/ansible/roles/assets/tasks/containerimages.yml +++ b/ansible/roles/assets/tasks/containerimages.yml @@ -16,7 +16,8 @@ - name: Parse pinniped manifests for container images ansible.builtin.shell: - cmd: cat {{ item.dest }} | yq --no-doc eval '.. | .image? | select(.)' | awk '!/ /' + # The pinniped manifest specify container images with *both* tag and digest; which is not supported by skopeo + cmd: cat {{ item.dest }} | yq --no-doc eval '.. | .image? | select(.)' | awk '!/ /' | sub("@.*", "") register: pinniped_parsedmanifests loop: "{{ pinniped_manifests.results }}" loop_control: