Добавить make index: пересборка output/index.html из локальных экспортов
Отдельный playbook на localhost читает server-info.yml, обновляет общий каталог и открывает его в браузере без обращения к VPS. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Rebuild global output index from local exports
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: true
|
||||
become: false
|
||||
tasks:
|
||||
- name: Generate output/index.html and open in browser
|
||||
ansible.builtin.include_role:
|
||||
name: hysteria2
|
||||
tasks_from: export_global.yml
|
||||
Reference in New Issue
Block a user