Switch around

This commit is contained in:
Sam A. 2024-01-28 21:31:34 +01:00
parent 0151979a31
commit e3fcd87b7b
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

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