Files
hysteria2/roles/hysteria2/tasks/validate.yml
T
Sergey Antropoff b1be74d21f Add Salamander obfs branch: replace masquerade with packet obfuscation.
- ACME TLS challenge on 443 (no port 80 or nginx decoy)
- Auto-generate and persist obfs password per server
- Update client export, HTML catalog, and vault examples
- Document Salamander vs main and ACME auto-renewal in README

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 02:17:22 +03:00

18 lines
637 B
YAML

---
- name: Validate required variables
ansible.builtin.assert:
that:
- hysteria2_domain | length > 0
- hysteria2_acme_email | length > 0
- hysteria2_users | length > 0
fail_msg: |
Задайте для каждого хоста:
hysteria2_domain — домен с A-записью на IP сервера (используется для TLS/SNI)
hysteria2_users — список имён пользователей, например [my, friend]
И в group_vars/all.yml:
hysteria2_acme_email — email для Let's Encrypt
tags:
- install
- update
- export