--- all: children: hysteria2_servers: hosts: vps-de: ansible_host: 203.0.113.10 ansible_port: 2222 ansible_user: root # SSH-пароль root берётся из vault (см. group_vars/hysteria2_servers/vault.yml) ansible_password: "{{ vault_ssh_passwords['vps-de'] }}" # Альтернатива — SSH-ключ вместо пароля: # ansible_ssh_private_key_file: ~/.ssh/id_ed25519 hysteria2_domain: vpn-de.example.com hysteria2_users: - my - friend - yet_friend vps-nl: ansible_host: 203.0.113.20 ansible_user: root ansible_password: "{{ vault_ssh_passwords['vps-nl'] }}" hysteria2_domain: vpn-nl.dynu.net hysteria2_users: - alice - bob # Свои пароли VPN-пользователей (опционально): # hysteria2_user_passwords: # alice: "Aingae0Okit1eek4eeZahFohVei4akee"