mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-06-24 10:14:48 +02:00
22 lines
380 B
YAML
22 lines
380 B
YAML
---
|
|
- name: Cluster prep
|
|
hosts: k3s_cluster
|
|
gather_facts: true
|
|
become: true
|
|
roles:
|
|
- role: prereq
|
|
- role: download
|
|
- role: raspberrypi
|
|
|
|
- name: Setup K3S server
|
|
hosts: server
|
|
become: true
|
|
roles:
|
|
- role: k3s/server # noqa: role-name[path]
|
|
|
|
- name: Setup K3S agent
|
|
hosts: agent
|
|
become: true
|
|
roles:
|
|
- role: k3s/agent # noqa: role-name[path]
|