k3s-ansible/playbook/site.yml
Derek Nola 1e633c5ad1
Rework Role Structure (#254)
* Add more defaults
* Rename roles, covert download to airgap role
* Remove unnecessary gather_facts

Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-11-16 12:03:07 -08:00

22 lines
328 B
YAML

---
- name: Cluster prep
hosts: k3s_cluster
gather_facts: true
become: true
roles:
- role: prereq
- role: airgap
- 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