mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-24 23:36:41 +00:00
fix combined volumes end envs
This commit is contained in:
parent
f54ce7e62e
commit
75c679b125
@ -14,12 +14,12 @@
|
||||
|
||||
- name: Merge volumes
|
||||
set_fact:
|
||||
wireguard_ui_volumes: "{{ wireguard_ui_volumes|default([]) + [item.key +':'+ item.value] }}"
|
||||
loop: "{{ wireguard_ui_default_volumes | dict2items }}"
|
||||
wireguard_ui_volumes: "{{ wireguard_ui_default_volumes|default([]) + [item.key +':'+ item.value] }}"
|
||||
loop: "{{ wireguard_ui_volumes | dict2items }}"
|
||||
|
||||
- name: Merge ENV
|
||||
set_fact:
|
||||
wireguard_ui_env: "{{ wireguard_ui_env | default({}) | combine(wireguard_ui_default_env, recursive=true) }}"
|
||||
wireguard_ui_env: "{{ wireguard_ui_default_env | combine(wireguard_ui_env, recursive=true) }}"
|
||||
|
||||
- name: "Install WireGuard UI for {{ ansible_facts['os_family'] }}"
|
||||
include_tasks: "{{ ansible_facts['os_family'] }}/main.yaml"
|
||||
|
Loading…
Reference in New Issue
Block a user