update mastodon admin account values

This commit is contained in:
ace 2021-03-25 21:33:58 +03:00
parent 81f1e335bd
commit c28bf3cdbf
No known key found for this signature in database
GPG Key ID: 32989872B72276A0
2 changed files with 7 additions and 5 deletions

View File

@ -126,3 +126,4 @@ mastodon_publish: true
#mastodon_assets_storage: "nfs-ssd"
#mastodon_system_size: "100Gi"
#mastodon_system_storage: "nfs-hdd"
#mastodon_admin_email: "mastodon@{{ mail_domain }}"

View File

@ -3,6 +3,7 @@ mastodon_publish: true
mastodon_use_external_db: true
mastodon_short_name: "mastodon"
mastodon_enable_elasticsearch: true
mastodon_admin_email: "mastodon@{{ mail_domain | default(domain) }}"
mastodon_default_values:
ingress:
enabled: true
@ -23,9 +24,9 @@ mastodon_default_values:
# have to be reset
createAdmin:
enabled: true
username: mastodon
username: "{{ mastodon_admin_user | default(mastodon_admin_username) | default('mastodon') }}"
password: "{{ mastodon_admin_pass | default(mastodon_admin_password) }}"
email: "admin@{{ domain }}"
email: "{{ mastodon_admin_email }}"
# available locales: https://github.com/tootsuite/mastodon/blob/master/config/application.rb#L43
locale: en
@ -62,12 +63,12 @@ mastodon_default_values:
delivery_method: smtp
domain: "{{ domain }}"
enable_starttls_auto: false
from_address: "mastodon@{{ domain }}"
login: mastodon
from_address: "{{ mastodon_admin_email }}"
login: "{{ mastodon_admin_user | default(mastodon_admin_username) | default('mastodon') }}"
openssl_verify_mode: false
password: "{{ mastodon_ldap_pass | default(mastodon_ldap_password) }}"
port: 465
reply_to: "mastodon@{{ domain }}"
reply_to: "{{ mastodon_admin_email }}"
server: "{{ mail_short_name | default('mail') }}.{{ domain }}"
tls: true