Files
hysteria2/group_vars/all.yml.example
T
Sergey Antropoff 3ca7dde4b2 fix: generate VPN passwords without pwgen, set EDITOR=nano
Use Ansible password lookup on the control node so install works before packages are installed on VPS and without pwgen on macOS. Export EDITOR=nano in Makefile for vault-edit.
2026-07-01 11:42:40 +03:00

25 lines
950 B
Plaintext

---
# Email для Let's Encrypt (ACME)
hysteria2_acme_email: admin@example.com
# Длина автогенерируемых паролей VPN-пользователей
hysteria2_password_length: 40
# Обновлять систему перед установкой (apt update && apt upgrade)
hysteria2_upgrade_system: true
# Локальная папка для URL и QR-кодов (на машине, где запускается ansible-playbook)
hysteria2_output_dir: "{{ playbook_dir }}/output"
# Имя подпапки для каждого сервера (по умолчанию — inventory_hostname)
# hysteria2_output_name: "{{ inventory_hostname }}"
# Открывать output/index.html в браузере после install/update/export
# hysteria2_open_browser: true
# Порт Hysteria2
hysteria2_listen_port: 443
# Открывать порты в ufw (80/tcp, 443/tcp, 443/udp)
hysteria2_configure_firewall: true