added roles and playbooks for k3s

This commit is contained in:
Jens Heinitz
2021-09-02 17:06:07 +02:00
parent 997d0c93a4
commit f7857cd5eb
18 changed files with 436 additions and 0 deletions

8
playbooks/k3s_reset.yml Normal file
View File

@@ -0,0 +1,8 @@
---
- hosts: k3s_cluster
gather_facts: yes
remote_user: root
become: yes
roles:
- role: k3s_reset

19
playbooks/site.yml Normal file
View File

@@ -0,0 +1,19 @@
---
- hosts: k3s_cluster
gather_facts: yes
become: yes
roles:
- role: prereq
- role: download
- role: raspberrypi
- hosts: master
become: yes
roles:
- role: k3s/master
- hosts: node
become: yes
roles:
- role: k3s/node