ansible rework

This commit is contained in:
Sergei Poljanski 2025-11-04 11:06:35 +02:00
commit eecff4345a
47 changed files with 1995 additions and 538 deletions

View file

@ -18,8 +18,13 @@ all:
ops_servers:
hosts:
asxpio-ops:
ansible_host: 10.20.0.10
#ansible_host: 65.109.14.216
# 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:
@ -33,8 +38,13 @@ all:
services_servers:
hosts:
asxpio-services:
ansible_host: 10.20.0.20
#ansible_host: 95.217.15.42
# 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: