瀏覽代碼

Rename `etherpad_database_*` to `etherpad_database_postgres_*`

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4611/head
Suguru Hirahara 9 月之前
父節點
當前提交
895f149a34
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: E4F9743DAB4B7B75
共有 1 個檔案被更改,包括 6 行新增6 行删除
  1. +6
    -6
      group_vars/matrix_servers

+ 6
- 6
group_vars/matrix_servers 查看文件

@@ -3793,10 +3793,10 @@ etherpad_systemd_required_services_list_auto: |
([postgres_identifier ~ '.service'] if postgres_enabled else []) ([postgres_identifier ~ '.service'] if postgres_enabled else [])
}} }}


etherpad_database_hostname: "{{ postgres_connection_hostname if postgres_enabled else '' }}"
etherpad_database_postgres_hostname: "{{ postgres_connection_hostname if postgres_enabled else '' }}"
etherpad_database_name: matrix_etherpad etherpad_database_name: matrix_etherpad
etherpad_database_username: matrix_etherpad
etherpad_database_password: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'etherpad.db', rounds=655555) | to_uuid }}"
etherpad_database_postgres_username: matrix_etherpad
etherpad_database_postgres_password: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'etherpad.db', rounds=655555) | to_uuid }}"


###################################################################### ######################################################################
# #
@@ -4492,9 +4492,9 @@ postgres_managed_databases_auto: |
+ +
([{ ([{
'name': etherpad_database_name, 'name': etherpad_database_name,
'username': etherpad_database_username,
'password': etherpad_database_password,
}] if (etherpad_enabled and etherpad_database_type == 'postgres' and etherpad_database_hostname == postgres_connection_hostname) else [])
'username': etherpad_database_postgres_username,
'password': etherpad_database_postgres_password,
}] if (etherpad_enabled and etherpad_database_type == 'postgres' and etherpad_database_postgres_hostname == postgres_connection_hostname) else [])
+ +
([{ ([{
'name': prometheus_postgres_exporter_database_name, 'name': prometheus_postgres_exporter_database_name,


Loading…
取消
儲存