♻: add pg role determination to mastodon

This commit is contained in:
VC
2025-02-15 09:15:23 +01:00
parent 14f6dfde14
commit 7f8db91dfb
6 changed files with 189 additions and 3 deletions

View File

@@ -11,3 +11,4 @@ mastodon_yarn_key_path: "/usr/share/keyrings/yarnkey.gpg"
mastodon_ruby_version: "3.3.5"
mastodon_home: "/srv/mastodon"
mastodon_access_url: "{{ web_hostname | selectattr('type', 'defined') | selectattr('type', '==', 'mastodon') | map(attribute='host') | first }}"