-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhosts-sample.yml
37 lines (34 loc) · 1.1 KB
/
hosts-sample.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
all:
children:
server:
hosts:
192.168.100.231:
192.168.100.232:
192.168.100.233:
agent:
hosts:
192.168.100.234:
vars:
ansible_user: ubuntu
hostname: turing
# If all 4 NVME storage banks are used,
# Ubuntu can be installed directly on the NVME storage and booted from there.
#storage:
# block_device: /dev/nvme0n1
# if you want to expose your homelab cluster on the internet
# and have a Cloudflare account, you can set up a tunnel here
#cloudflare:
# # create a cloudflare tunnel
# # cloudflared tunnel login
# # cloudflared tunnel create <name>
# # cloudflared tunnel token <name>
# tunnel_name: <tunnel_name>
# tunnel_token: <tunnel_token>
# hostname: <hostname of tunnel>
k3s:
# create a random token with openssl
# openssl rand -hex 64
token: 7a397a68cff88a10e6251fe11047fee1f5c98af7f3a69b2a0e9dafc55577ce6e33686e6b098610b5480d335c3a1521296d0b92b01bc3a303b687ccca480de93f
endpoint: "{{ groups['server'][0] }}"
extra_server_args: ""
extra_agent_args: ""