6f96a26bed
Includes install/update/uninstall playbooks, Makefile, vault-based SSH credentials, per-server and global HTML export with QR codes.
18 lines
595 B
YAML
18 lines
595 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 сервера
|
|
hysteria2_users — список имён пользователей, например [my, friend]
|
|
И в group_vars/all.yml:
|
|
hysteria2_acme_email — email для Let's Encrypt
|
|
tags:
|
|
- install
|
|
- update
|
|
- export
|