feat(inventory): Update lab inventory file

This commit is contained in:
Tanguy Herbron 2024-01-14 01:36:59 +01:00
parent 7642b97ccb
commit 4380bafe28

View File

@ -1,82 +1,96 @@
all: all:
hosts: hosts:
hb-wide-1:
ansible_host: 192.168.56.101
is_nas: false
hostname: hb-wide-1
wireguard_ip: 10.20.0.1
k3s_label:
- type=worker
- size=wide
headscale:
network: beta
hb-wide-2:
ansible_host: 192.168.56.102
is_nas: false
hostname: hb-wide-2
wireguard_ip: 10.20.0.2
k3s_label:
- type=worker
- size=wide
headscale:
network: beta
hb-slim-1:
ansible_host: 192.168.56.11
is_nas: false
hostname: hb-slim-1
wireguard_ip: 10.20.0.11
k3s_label:
- type=worker
- size=slim
headscale:
network: beta
hb-slim-2:
ansible_host: 192.168.56.12
is_nas: false
hostname: hb-slim-2
wireguard_ip: 10.20.0.12
k3s_label:
- type=worker
- size=slim
headscale:
network: beta
hb-slim-3:
ansible_host: 192.168.56.13
is_nas: false
hostname: hb-slim-3
wireguard_ip: 10.20.0.13
k3s_label:
- type=worker
- size=slim
headscale:
network: beta
nas:
ansible_host: 192.168.56.200
is_nas: true
hostname: nas
wireguard_ip: 10.20.0.100
headscale:
network: beta
children:
master:
hosts:
hb-wide-1: hb-wide-1:
ansible_host: 192.168.56.101 node:
is_nas: false hosts:
hostname: hb-wide-1
wireguard_ip: 10.20.0.1
k3s_label:
- type=worker
- size=wide
headscale:
network: beta
hb-wide-2: hb-wide-2:
ansible_host: 192.168.56.102
is_nas: false
hostname: hb-wide-2
wireguard_ip: 10.20.0.2
k3s_label:
- type=worker
- size=wide
hb-slim-1: hb-slim-1:
ansible_host: 192.168.56.11
is_nas: false
hostname: hb-slim-1
wireguard_ip: 10.20.0.11
k3s_label:
- type=worker
- size=slim
hb-slim-2: hb-slim-2:
ansible_host: 192.168.56.12
is_nas: false
hostname: hb-slim-2
wireguard_ip: 10.20.0.12
k3s_label:
- type=worker
- size=slim
hb-slim-3: hb-slim-3:
ansible_host: 192.168.56.13 etcd_cluster:
is_nas: false hosts:
hostname: hb-slim-3 hb-wide-1:
wireguard_ip: 10.20.0.13 hb-wide-2:
k3s_label: hb-slim-1:
- type=worker hb-slim-2:
- size=slim hb-slim-3:
nas: k3s_cluster:
ansible_host: 192.168.56.200 children:
is_nas: true server:
hostname: nas agent:
wireguard_ip: 10.20.0.100 headscale_client:
children: hosts:
master: hb-wide-1:
hosts: hb-wide-2:
hb-wide-1: hb-slim-1:
node: hb-slim-2:
hosts: hb-slim-3:
hb-wide-2: nas:
hb-slim-1: vars:
hb-slim-2: ansible_ssh_private_key_file: ~/.ssh/creator
hb-slim-3: ansible_user: creator
etcd_cluster: ansible_become_password: aberation
hosts: ansible_ssh_port: 22
hb-wide-1: ufw_enabled: false
hb-wide-2: wireguard_port: 51820
hb-slim-1: wireguard_mask_bits: 8
hb-slim-2:
hb-slim-3:
k3s_cluster:
children:
master:
node:
headscale_client:
hosts:
hb-wide-1:
hb-wide-2:
vars:
ansible_ssh_private_key_file: ~/.ssh/creator
ansible_user: creator
ansible_become_password: aberation
ansible_ssh_port: 22
ufw_enabled: false
wireguard_port: 51820
wireguard_mask_bits: 8