mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-25 17:12:50 +00:00
26 lines
448 B
YAML
26 lines
448 B
YAML
---
|
|
# Load default variables and perform prechecks on all hosts
|
|
- hosts:
|
|
- all
|
|
gather_facts: true
|
|
roles:
|
|
- defaults
|
|
|
|
# Download all required software and generate certificates on the localhost
|
|
- hosts:
|
|
- localhost
|
|
gather_facts: true
|
|
roles:
|
|
- certs/init
|
|
- download
|
|
|
|
# Initialize all nodes and install necessary software packages
|
|
- hosts:
|
|
- etcd
|
|
- k8s_cluster
|
|
- image_registry
|
|
- nfs
|
|
roles:
|
|
- native
|
|
|