Initial commit: Ansible role for Hysteria2 VPN server deployment.
Includes install/update/uninstall playbooks, Makefile, vault-based SSH credentials, per-server and global HTML export with QR codes.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
---
|
||||
# Email для Let's Encrypt (ACME)
|
||||
hysteria2_acme_email: admin@example.com
|
||||
|
||||
# Длина автогенерируемых паролей (pwgen)
|
||||
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
|
||||
Reference in New Issue
Block a user