From 75c679b125ca176e696bf3349cefd908cdd21d60 Mon Sep 17 00:00:00 2001 From: ace Date: Wed, 13 Jul 2022 21:27:05 +0300 Subject: [PATCH] fix combined volumes end envs --- tasks/main.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index 6cef733..3af3eb9 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -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"