mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-25 17:12:50 +00:00
Signed-off-by: joyceliu <joyceliu@yunify.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
18 lines
479 B
YAML
18 lines
479 B
YAML
---
|
|
- name: Create binaries dir
|
|
command: |
|
|
mkdir -p {{ .binary_dir }}
|
|
|
|
- name: Download binaries
|
|
block:
|
|
# the binaries which download binary
|
|
- include_tasks: download_binary.yaml
|
|
# the binaries which download helm
|
|
- include_tasks: download_helm.yaml
|
|
# download remote images to local
|
|
- name: Download images
|
|
image:
|
|
pull:
|
|
manifests: "{{ .image_manifests | toJson }}"
|
|
when: .image_manifests | default list | len | lt 0
|