fix: generate VPN passwords without pwgen, set EDITOR=nano

Use Ansible password lookup on the control node so install works before packages are installed on VPS and without pwgen on macOS. Export EDITOR=nano in Makefile for vault-edit.
This commit is contained in:
2026-07-01 11:42:40 +03:00
parent d4f968d799
commit 69eccce8eb
7 changed files with 35 additions and 50 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
ansible.builtin.apt:
upgrade: dist
- name: Install curl, micro, pwgen and qrencode
- name: Install curl, micro and qrencode
ansible.builtin.apt:
name: "{{ _hysteria2_apt_packages }}"
state: present
@@ -19,7 +19,7 @@
vars:
_hysteria2_apt_packages: >-
{{
['curl', 'micro', 'pwgen']
['curl', 'micro']
+ (['qrencode'] if hysteria2_generate_qr_png | bool else [])
}}