-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomelab-playbook.yml
139 lines (102 loc) · 3.46 KB
/
homelab-playbook.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# pie-1
- name: minis/pie-1 roles
hosts: pie-1
roles:
- name: system/packages/apt
tags: ["system", "packages", "apt"]
- name: system/packages/ntp
tags: ["system", "ntp"]
- role: docker/network/pi-hole
tags: ["docker", "network", "dns", "pi-hole", "pihole"]
# pie-2
- name: minis/pie-2 roles
hosts: pie-2
roles:
- name: system/packages/apt
tags: ["system", "packages", "apt"]
- name: system/packages/ntp
tags: ["system", "ntp"]
- role: system/packages/docker
tags: ["system", "docker"]
- role: system/network/tailscale
tags: ["system", "network", "tailscale"]
- role: docker/network/blocky
tags: ["docker", "network", "dns", "blocky"]
- role: docker/services/vaultwarden
tags: ["docker", "service", "vaultwarden"]
- role: docker/ui/homer
tags: ["ui", "homer"]
- role: system/network/nginx
tags: ["system" , "network", "nginx"]
# sidekick-1
- name: minis/sidekick-1 roles
hosts: sidekick-1
roles:
- name: system/packages/apt
tags: ["system", "packages", "apt"]
- name: system/packages/ntp
tags: ["system", "ntp"]
- role: system/packages/docker
tags: ["system", "docker"]
- role: system/network/samba
tags: ["sidekick-1" ,"system", "network", "samba", "file-sharing"]
vars:
samba_share_root: "/mnt/fast2"
samba_share_name: "fast-storage2"
- role: system/network/syncthing
tags: ["sidekick-1", "system", "network", "syncthing", "file-sync"]
- role: docker/services/immich
tags: ["sidekick-1", "docker", "immich"]
- role: docker/services/whoogle
tags: ["sidekick-1", "docker", "whoogle"]
- role: docker/services/sourcebot
tags: ["sidekick-1", "docker", "sourcebot"]
# hero-1
- name: megas/hero-1 roles
hosts: hero-1
roles:
- name: system/packages/apt
tags: ["system", "packages", "apt"]
- name: system/packages/ntp
tags: ["system", "ntp"]
- role: system/packages/k3s
tags: ["system", "k3s", "kubernetes"]
- role: system/network/samba
tags: ["hero-1", "system", "network", "samba", "file-sharing"]
vars:
samba_share_root: "/mnt/databank"
samba_share_name: "fast-storage"
- role: k8s/tools/samba
tags: ["k8s", "samba","secret" ,"samba-config", "csi"]
- role: k8s/media/jellyfin
tags: ["k8s", "jellyfin", "k8s-app"]
- role: k8s/media/navidrome
tags: ["k8s", "navidrome", "k8s-app"]
- name: workstation/workstation-1 roles
hosts: workstation-1
gather_facts: true
roles:
- name: system/packages/apt
tags: ["system", "packages", "apt"]
- name: system/packages/ntp
tags: ["system", "ntp"]
- role: system/packages/docker
tags: ["system", "docker"]
- role: system/packages/helm
tags: ["system", "helm", "installer"]
- role: system/packages/kind
tags: ["system", "kind", "installer"]
- role: system/packages/kubectl
tags: ["system", "kubectl", "installer"]
- role: dev/packages/go
tags: ["dev", "go", "golang", "installer" ]
- role: dev/packages/taskfile
tags: ["dev", "taskfile", "task", "installer" ]
- role: dev/packages/skaffold
tags: ["dev", "skaffold", "installer"]
- role: dev/packages/awscli
tags: ["dev", "awscli", "installer"]
- role: dev/packages/lazygit
tags: ["dev", "lazygit", "installer"]
- role: dev/packages/node
tags: ["dev", "node", "installer"]