64 lines
2.1 KiB
YAML
64 lines
2.1 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:
|
|
# Stage 1: Use public IP for WireGuard deployment
|
|
# ansible_host: 135.181.27.77 # Uncomment for Stage 1 if needed
|
|
# Stage 2: Use WireGuard IP (uncomment below after 01-wireguard-setup.yaml)
|
|
ansible_host: "{{ asxpio_ops_wireguard_ip }}" # 10.20.0.10 via WireGuard
|
|
public_ip: 135.181.27.77
|
|
vpc_ip: "{{ asxpio_ops_vpc_ip }}"
|
|
wireguard_ip: "{{ asxpio_ops_wireguard_ip }}"
|
|
server_role: ops
|
|
server_type: cx22
|
|
services:
|
|
- traefik
|
|
- forgejo
|
|
- grafana
|
|
- prometheus
|
|
- loki
|
|
- static_sites
|
|
|
|
services_servers:
|
|
hosts:
|
|
asxpio-services:
|
|
# Stage 1: Use public IP for WireGuard deployment
|
|
# ansible_host: 46.62.228.216 # Uncomment for Stage 1 if needed
|
|
# Stage 2: Use WireGuard IP (uncomment below after 01-wireguard-setup.yaml)
|
|
ansible_host: "{{ asxpio_services_wireguard_ip }}" # 10.20.0.20 via WireGuard
|
|
public_ip: 46.62.228.216
|
|
vpc_ip: "{{ asxpio_services_vpc_ip }}"
|
|
wireguard_ip: "{{ asxpio_services_wireguard_ip }}"
|
|
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
|