lint / yamllint + ansible-lint + syntax-check (push) Canceled after 0s
Rolled back per the user's request. Three variants were tried on ru-vps
(static key; TLS peer-fingerprint p2p; server mode with push routes and an
inline <ca>). The server side worked each time, but the "OpenVPN for
Android" client consistently failed at config build ("Used 101 tries to
get current version of the profile"), which looks like an app/OS issue
rather than the config.
Repo: remove playbooks/openvpn-phone.yml, its Make target, and the shared
homelab_vpn_client_routes var; restore openvpn-laptop.yml to its prior
state (its pre-existing `become: false` on delegate_to: localhost is noted
in plan.md, left untouched). ru-vps teardown done out of band: unit, tun2,
ufw/nat rules for 9444 and 10.80.0.0/29, and /etc/openvpn/homelab-phone
removed; the site tunnel (homelab-openvpn, tun0) was not touched and is
verified active.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KbuZrUoevfBgCpf5DCF4DG
34 lines
1.8 KiB
YAML
34 lines
1.8 KiB
YAML
---
|
|
# Общие переменные для всех управляемых хостов.
|
|
# SSH-транспорт (ProxyJump, порты, ключи по хостам) описан в ansible/ssh_config.
|
|
# Путь считается от каталога inventory, поэтому работает из любого cwd
|
|
# и не ломается при клоне репозитория в другое место.
|
|
ansible_ssh_common_args: "-F {{ inventory_dir }}/../ssh_config"
|
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
ansible_user: ansible
|
|
ansible_ssh_private_key_file: ~/.ssh/id_ed25519_homelab_ansible
|
|
ansible_become: true
|
|
|
|
homelab_lan_cidr: 192.168.1.0/24
|
|
homelab_service_range: 192.168.1.5-192.168.1.40
|
|
|
|
# Публичный адрес, с которого обе ноды PVE выходят в интернет (домашний NAT).
|
|
# Нужен для правила UFW на ru-vps, открывающего corosync-qnetd (5403/tcp):
|
|
# арбитр кластера обязан быть достижим по пути, не зависящему ни от одной ноды,
|
|
# поэтому ходим напрямую, а не через OpenVPN-туннель (он живёт в CT 160 на
|
|
# mini-pc — при падении mini-pc арбитр исчез бы вместе с ним).
|
|
# ВНИМАНИЕ: адрес динамический. Если он сменится, qdevice замолчит так же тихо,
|
|
# как это уже случилось после вывода ZeroTier. Признак — `pvecm status`:
|
|
# Total votes меньше Expected votes и флаг NV у узлов.
|
|
homelab_pve_egress_ip: 85.143.112.108
|
|
|
|
openvpn_network_cidr: 10.78.0.0/30
|
|
openvpn_listen_port: 8443
|
|
openvpn_forwarded_services:
|
|
- name: satisfactory
|
|
protocol: udp
|
|
public_port: 7777
|
|
target_host: 192.168.1.100
|
|
target_port: 7777
|