Files
infra/ansible/inventory/hosts.yml
T
DmitryandClaude Sonnet 5 e24b75534e feat: decommission memoir-bot (CT 142)
Service was unused. Live steps (revoke SecondBrain deploy key, drop the Uptime
Kuma monitor, pct stop 142) were done 2026-09-02; pct destroy is deliberately
deferred a week.

- delete playbooks/pve-memoir-bot.yml.
- hosts.yml: drop the memoir-bot host and its monitoring_exporters entry.
- roles/monitoring_server/templates/prometheus.yml.j2: drop 192.168.1.26 target.
- roles/uptime_kuma/defaults: drop 192.168.1.26 from no_proxy.
- roles/lxc_docker_host/defaults: drop the memoir-bot extra-packages comment.

The registry entry, the ssh_config Host block and the status.yml unit list are
removed in the commits that also carry OpenTofu-migration / quorum changes to
those files.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uoq5AVK8mkBgg83Mq6o5V
2026-09-03 07:04:45 +03:00

133 lines
3.3 KiB
YAML

# Каноничный список хостов HomeLab.
#
# Общие переменные: inventory/group_vars/all/main.yml
# Переменные LXC: inventory/group_vars/lxc_infra/main.yml
# SSH-транспорт: ../ssh_config (подключён через ssh_args в ansible.cfg)
#
# Здесь у хоста остаются только адрес и его индивидуальные факты.
all:
children:
homelab:
hosts:
ru-vps:
ansible_host: vps
monitoring_exporter_node_listen_address: 127.0.0.1:9100
openvpn_local_ip: 10.78.0.1
openvpn_peer_ip: 10.78.0.2
openvpn_role: server
pve_nodes:
hosts:
cloud-pc:
ansible_host: 192.168.1.5
expected_lan_ip: 192.168.1.5
storage_mounts:
- src: UUID=ae278333-4116-4225-9b95-595496fadd26
path: /opt/data
fstype: ext4
- src: UUID=940a9a4e-10cf-4380-9d22-a71549066561
path: /mnt/backup
fstype: ext4
mini-pc:
ansible_host: 192.168.1.10
expected_lan_ip: 192.168.1.10
lxc_infra:
hosts:
# Доступны напрямую по LAN (без ProxyJump через ru-vps)
pbs:
ansible_host: 192.168.1.20
expected_lan_ip: 192.168.1.20
ovpn-mini:
ansible_host: 192.168.1.23
expected_lan_ip: 192.168.1.23
openvpn_local_ip: 10.78.0.2
openvpn_peer_ip: 10.78.0.1
openvpn_role: gateway
# Остальные LXC — через ru-vps (см. ssh_config)
adguard:
ansible_host: 192.168.1.28
expected_lan_ip: 192.168.1.28
docker-test:
ansible_host: 192.168.1.29
expected_lan_ip: 192.168.1.29
vaultwarden:
ansible_host: 192.168.1.24
expected_lan_ip: 192.168.1.24
gitea:
ansible_host: 192.168.1.25
expected_lan_ip: 192.168.1.25
mihomo:
ansible_host: 192.168.1.27
expected_lan_ip: 192.168.1.27
monitoring:
ansible_host: 192.168.1.30
expected_lan_ip: 192.168.1.30
hermes-ai:
ansible_host: 192.168.1.31
expected_lan_ip: 192.168.1.31
bash_config_proxy_http_url: http://192.168.1.27:7890
bash_config_proxy_socks_url: socks5h://192.168.1.27:7890
emergency-bot:
ansible_host: 192.168.1.32
expected_lan_ip: 192.168.1.32
grimmory:
ansible_host: 192.168.1.34
expected_lan_ip: 192.168.1.34
gyro:
ansible_host: 192.168.1.35
expected_lan_ip: 192.168.1.35
monitoring_exporters:
hosts:
ru-vps:
cloud-pc:
mini-pc:
pbs:
ovpn-mini:
vaultwarden:
gitea:
mihomo:
adguard:
monitoring:
grimmory:
monitoring_smart_exporters:
hosts:
cloud-pc:
mini-pc:
monitoring_server:
hosts:
monitoring:
vpn_openvpn:
hosts:
ru-vps:
ovpn-mini:
shell_hosts:
hosts:
ru-vps:
cloud-pc:
mini-pc:
hermes-ai:
servers:
children:
homelab:
pve_nodes:
lxc_infra: