Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Commit a9dd304

Browse files
committed
Update inventory
1 parent 2a5ca4a commit a9dd304

File tree

2 files changed

+29
-6
lines changed

2 files changed

+29
-6
lines changed

hcloud.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# requires env.HCLOUD_TOKEN
2+
3+
plugin: hetzner.hcloud.hcloud
4+
locations:
5+
- nbg1
6+
status:
7+
- running

inventory.ini

+22-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
11
[master]
2-
k3s-master
2+
k3s-master ansible_host=192.168.100.150
33

44
[workers]
5-
k3s-worker01
6-
k3s-worker02
7-
k3s-worker03
5+
k3s-worker01 ansible_host=192.168.100.151
6+
k3s-worker02 ansible_host=192.168.100.152
7+
k3s-worker03 ansible_host=192.168.100.153
88

99
[k3s]
10-
1110
[k3s:children]
1211
master
13-
workers
12+
workers
13+
14+
[step]
15+
step01 ansible_host=192.168.100.140
16+
step02 ansible_user=root
17+
localhost ansible_connection=local # To write wg configs
18+
19+
[nginx]
20+
step02
21+
22+
[hcloud]
23+
step02
24+
25+
[all:vars]
26+
ansible_user=root
27+
ansible_port=22
28+
ansible_ssh_private_key_file=~/.ssh/keys/personal-id_ed25519.key
29+
ansible_ssh_common_args='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'

0 commit comments

Comments
 (0)