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. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
---
|
||||
- name: Install Hysteria2
|
||||
ansible.builtin.import_tasks: validate.yml
|
||||
tags: [install, update, export]
|
||||
|
||||
- name: Resolve VPN users
|
||||
ansible.builtin.import_tasks: users.yml
|
||||
tags: [install, update, export]
|
||||
|
||||
- name: Install packages and Hysteria2 binary
|
||||
ansible.builtin.import_tasks: install.yml
|
||||
tags: [install]
|
||||
|
||||
- name: Configure Hysteria2 server
|
||||
ansible.builtin.import_tasks: configure.yml
|
||||
tags: [install, update]
|
||||
|
||||
- name: Update Hysteria2 binary
|
||||
ansible.builtin.import_tasks: update.yml
|
||||
tags: [update]
|
||||
|
||||
- name: Export client URLs and QR codes
|
||||
ansible.builtin.import_tasks: export.yml
|
||||
tags: [install, update, export]
|
||||
|
||||
- name: Uninstall Hysteria2
|
||||
ansible.builtin.import_tasks: uninstall.yml
|
||||
tags: [never, uninstall]
|
||||
Reference in New Issue
Block a user