Re-add apps_exclude

This commit is contained in:
Sam A. 2024-10-19 00:18:08 +02:00
parent 817fdf8ffe
commit 4030815cc8
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -124,7 +124,8 @@ apps_vars:
extra_tasks: false extra_tasks: false
version: '1.7.1' version: '1.7.1'
apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list }}" apps_exclude: []
apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list | difference(apps_exclude) }}"
apps_backup: "{{ apps_vars | dict2items | selectattr('value.backup', 'true') | map(attribute='key') | list | intersect(apps_include) }}" 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_proxied: "{{ apps_vars | dict2items | selectattr('value.domain', 'defined') | map(attribute='key') | list | intersect(apps_include) }}"
apps_torified: "{{ apps_vars | dict2items | selectattr('value.onion', 'defined') | map(attribute='key') | list | intersect(apps_include) }}" apps_torified: "{{ apps_vars | dict2items | selectattr('value.onion', 'defined') | map(attribute='key') | list | intersect(apps_include) }}"