Compare commits
2 Commits
eab5cfc688
...
87eb5e0dd7
Author | SHA1 | Date | |
---|---|---|---|
87eb5e0dd7 | |||
f5ed60fa38 |
@ -17,7 +17,7 @@
|
||||
- name: Parse pinniped manifests for container images
|
||||
ansible.builtin.shell:
|
||||
# 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("@.*", "")
|
||||
cmd: cat {{ item.dest }} | yq --no-doc eval '.. | .image? | select(.) | sub("@.*", "")' | awk '!/ /'
|
||||
register: pinniped_parsedmanifests
|
||||
loop: "{{ pinniped_manifests.results }}"
|
||||
loop_control:
|
||||
|
@ -1,5 +1,14 @@
|
||||
packer {
|
||||
required_plugins {
|
||||
vsphere = {
|
||||
source = "github.com/hashicorp/vsphere"
|
||||
version = "~> 1"
|
||||
}
|
||||
|
||||
ansible = {
|
||||
source = "github.com/hashicorp/ansible"
|
||||
version = "~> 1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user