forked from techno-tim/k3s-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yml
45 lines (41 loc) · 819 Bytes
/
site.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
- name: Prepare Proxmox cluster
hosts: proxmox
gather_facts: true
become: yes
remote_user: ubuntu
roles:
- role: proxmox_lxc
when: proxmox_lxc_configure
- name: Prepare k3s nodes
hosts: k3s_cluster
gather_facts: yes
remote_user: ubuntu
roles:
- role: lxc
become: true
when: proxmox_lxc_configure
- role: prereq
become: true
- role: download
become: true
- role: raspberrypi
become: true
- name: Setup k3s servers
hosts: master
remote_user: ubuntu
roles:
- role: k3s_server
become: true
- name: Setup k3s agents
hosts: node
remote_user: ubuntu
roles:
- role: k3s_agent
become: true
- name: Configure k3s cluster
hosts: master
remote_user: ubuntu
roles:
- role: k3s_server_post
become: true