fix combined volumes end envs

This commit is contained in:
ace 2022-07-13 21:27:05 +03:00
parent f54ce7e62e
commit 75c679b125
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -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"