Remove apps_exclude

This commit is contained in:
Sam A. 2024-09-12 21:21:10 +02:00
parent ec31683ebe
commit 817fdf8ffe
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -124,8 +124,7 @@ apps_vars:
extra_tasks: false extra_tasks: false
version: '1.7.1' version: '1.7.1'
apps_exclude: [] apps_include: "{{ apps_vars | dict2items | map(attribute='key') | list }}"
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) }}"