playbooks/inventory.ini
2026-04-12 15:55:13 +08:00

61 lines
1.9 KiB
INI

# Vhosts
[cn_front_host]
# services: cn-front.svc.plus
cn-front.svc.plus ansible_host=47.120.61.35 ansible_user=root ansible_ssh_user=root firewall_manage_ufw=false service_domains=cn-front.svc.plus
[jp_xhttp_contabo_host]
# services: api.svc.plus, console.svc.plus, accounts.svc.plus, acp-server.svc.plus, xworkmate-bridge.svc.plus, vault.svc.plus, openclaw.svc.plus, postgresql.svc.plus
jp-xhttp-contabo.svc.plus ansible_host=46.250.251.132 ansible_user=root ansible_ssh_user=root service_domains=api.svc.plus,console.svc.plus,accounts.svc.plus,acp-server.svc.plus,xworkmate-bridge.svc.plus,vault.svc.plus,openclaw.svc.plus,postgresql.svc.plus xray_exporter_node_id_custom=jp-xhttp-contabo.svc.plus
[tky_proxy_host]
# services: tky-proxy.svc.plus
tky-proxy.svc.plus ansible_host=43.207.194.92 ansible_user=admin ansible_ssh_user=admin service_domains=tky-proxy.svc.plus
[us_xhttp_host]
# services: tky-proxy.svc.plus
us-xhttp.svc.plus ansible_host=44.251.164.174 ansible_user=ubuntu ansible_ssh_user=admin service_domains=us-xhttp.svc.plus
[jp_k3s_vultr_host]
# services: jp-k3s-vultr.svc.plus
jp-k3s-vultr.svc.plus ansible_host=167.179.110.129 ansible_user=root ansible_ssh_user=root service_domains=jp-k3s-vultr.svc.plus
# Logical service groups
[web]
cn-front.svc.plus
[agent_svc_plus]
tky-proxy.svc.plus
jp-xhttp-contabo.svc.plus
[xray_exporter]
tky-proxy.svc.plus
jp-xhttp-contabo.svc.plus
[billing_service]
jp-xhttp-contabo.svc.plus
[accounts]
jp-xhttp-contabo.svc.plus
[apisix]
jp-xhttp-contabo.svc.plus
[apisix]
api.svc.plus ansible_host=46.250.251.132 ansible_user=root
[postgresql]
jp-xhttp-contabo.svc.plus
[k3s]
jp-k3s-vultr.svc.plus
[all:vars]
ansible_port=22
ansible_user=root
ansible_ssh_transfer_method=piped
ansible_host_key_checking=False
# SSH 密钥或密码(二选一)
ansible_ssh_private_key_file=~/.ssh/id_rsa
k3s_platform_git_private_key=~/.ssh/id_rsa