mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
Signed-off-by: joyceliu <joyceliu@yunify.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
13 lines
330 B
YAML
13 lines
330 B
YAML
- hosts:
|
|
- localhost
|
|
roles:
|
|
- init/init-artifact
|
|
tasks:
|
|
- name: Package image
|
|
image:
|
|
pull: "{{ .image_manifests | toJson }}"
|
|
when: .image_manifests | default list | len | lt 0
|
|
- name: Export artifact
|
|
command: |
|
|
cd {{ .work_dir }} && tar -czvf kubekey-artifact.tar.gz kubekey/
|