Added 'group_domain_filters' draft(needs to be optimized to load dependencies)

This commit is contained in:
2025-05-16 17:03:44 +02:00
parent 0900126e4a
commit 06238343df
11 changed files with 143 additions and 72 deletions

View File

@@ -6,7 +6,7 @@
- name: "Include setup for domain '{{ domain }}'"
include_role:
name: nginx-domain-setup
loop: "{{ [domains.mastodon] + domains.mastodon_alternates }}"
loop: "{{ domains.mastodon }}"
loop_control:
loop_var: domain
vars:

View File

@@ -4,7 +4,7 @@
LOCAL_DOMAIN={{domains[application_id]}}
ALTERNATE_DOMAINS="{{ domains.mastodon_alternates | join(',') }}"
ALTERNATE_DOMAINS="{{ domains.mastodon[1:] | join(',') }}"
SINGLE_USER_MODE={{applications.mastodon.single_user_mode}}
# Credentials