From e3fcd87b7b1a08cece56f9970e0e6092f5e5f00e Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sun, 28 Jan 2024 21:31:34 +0100 Subject: [PATCH] Switch around --- roles/apps/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/apps/defaults/main.yml b/roles/apps/defaults/main.yml index 372a8f8..3c0895e 100644 --- a/roles/apps/defaults/main.yml +++ b/roles/apps/defaults/main.yml @@ -65,4 +65,4 @@ apps_vars: apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list }}" apps_backup: "{{ apps_vars | dict2items | selectattr('value.backup', 'true') | map(attribute='key') | list | intersect(apps_include) }}" apps_proxied: "{{ apps_vars | dict2items | selectattr('value.domain', 'defined') | map(attribute='key') | list | intersect(apps_include) }}" -apps_senders: "{{ apps_vars | dict2items | selectattr('value.sender', 'true') | selectattr('key', 'in', apps_include) | map(attribute='value.domain') | list }}" +apps_senders: "{{ apps_vars | dict2items | selectattr('key', 'in', apps_include) | selectattr('value.sender', 'true') | map(attribute='value.domain') | list }}"