Просмотр исходного кода

Merge pull request #4611 from luixxiul/etherpad

Rename `etherpad_database_*` to `etherpad_database_postgres_*`
pull/4613/head
Aine 5 месяцев назад
committed by GitHub
Родитель
Сommit
3467baf62f
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: B5690EEEBB952194
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 [])
}}

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_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,
'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,


Загрузка…
Отмена
Сохранить