kubekey/builtin/core/roles/copy/tasks/images.yaml
zuoxuesong-worker bd780ee397
feat: add export copy func (#2875)
feat: add export copy func



feat: add export copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-11-28 15:58:00 +08:00

13 lines
336 B
YAML

- name: Image | Ensure container images is available
image:
copy:
from:
path: >-
{{ .binary_dir }}/images/
manifests: "{{ .image_manifests | toJson }}"
to:
path: >-
{{ .artifact_file_dir }}/kubekey/kubekey/images/
when:
- .image_manifests | default list | empty | not