iac/ansible/inventory/hosts.yaml
2025-11-01 22:46:38 +02:00

54 lines
1.3 KiB
YAML

---
# Ansible inventory for asxpio infrastructure
# Update IP addresses after running terraform apply
all:
vars:
ansible_user: root
ansible_python_interpreter: /usr/bin/python3
children:
asxpio:
vars:
# Common variables for all asxpio servers
timezone: UTC
locale: en_US.UTF-8
children:
ops_servers:
hosts:
asxpio-ops:
ansible_host: 10.20.0.10
#ansible_host: 65.109.14.216
server_role: ops
server_type: cx22
services:
- traefik
- forgejo
- grafana
- prometheus
- loki
- static_sites
services_servers:
hosts:
asxpio-services:
ansible_host: 10.20.0.20
#ansible_host: 95.217.15.42
server_role: services
server_type: cx43
services:
- forgejo_runner
- immich
- minecraft
- valheim
- factorio
- prosody
- coturn
old_servers:
hosts:
asxpio-old:
ansible_host: asxp.io
server_role: legacy
ansible_user: asxpi