blob: a68814136a006b088030dd6313f2f869bc2a304f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
- name: "hysteria user management"
hysteria:
users: "{{ all_users|default([]) + hysteria_users|default([]) }}"
register: hysteria_user_pass_dict
no_log: true
notify:
- restart_hysteria
- name: "add hysteria user password pair to dict"
set_fact:
user_pass_dict: "{{ user_pass_dict|default({}) | combine(hysteria_user_pass_dict['msg'], recursive=true, list_merge='append') }}"
no_log: true
|