Files
k3s-ansible/playbook/site.yml
Nicholas Malcolm 5b3e2a5db6 Reorganize server tasks, copy config to local
- Inital server starts first so it can grab the token for other servers and copy the config to localhost
- More cleanup of agent/server naming scheme

Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-11-08 10:23:56 -08:00

22 lines
330 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
- name: Setup K3S agent
hosts: agent
become: true
roles:
- role: k3s/agent