28 lines
590 B
YAML
28 lines
590 B
YAML
---
|
|
|
|
|
|
- name: Install and deplo a k8s cluster
|
|
hosts: k8s
|
|
become: True
|
|
vars:
|
|
enable_display: true
|
|
install_crio: true
|
|
install_kubernetes: true
|
|
etchostsupdate: true
|
|
tasks:
|
|
- include_tasks:
|
|
file: tweak_rpi4.yaml
|
|
- include_tasks:
|
|
file: etchostsupdate.yaml
|
|
when: etchostsupdate
|
|
- include_tasks:
|
|
file: enable_display.yml
|
|
when: enable_display
|
|
- include_tasks:
|
|
file: install_crio.yml
|
|
when: install_crio
|
|
- include_tasks:
|
|
file: install_kubernetes.yml
|
|
when: install_kubernetes
|
|
- include_tasks:
|
|
file: k8s_master.yml |