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

- changed variables names to use role specific one and redefine them using group_vars/matrix_servers

pull/868/head
foxcris 5 лет назад
Родитель
Сommit
ecc6bdb3ca
2 измененных файлов: 21 добавлений и 4 удалений
  1. +17
    -0
      group_vars/matrix_servers
  2. +4
    -4
      roles/matrix-postgres-backup/defaults/main.yml

+ 17
- 0
group_vars/matrix_servers Просмотреть файл

@@ -1407,3 +1407,20 @@ matrix_registration_database_password: "{{ matrix_synapse_macaroon_secret_key |
# /matrix-registration
#
######################################################################

######################################################################
#
# matrix-postgres-backup
#
######################################################################

matrix_postgres_backup_connection_hostname: "{{ matrix_postgres_connection_hostname }}"
matrix_postgres_backup_connection_port: "{{ matrix_postgres_connection_port }}"
matrix_postgres_backup_connection_username: "{{ matrix_postgres_connection_username }}"
matrix_postgres_backup_connection_password: "{{ matrix_postgres_connection_password }}"

######################################################################
#
# /matrix-postgres-backup
#
######################################################################

+ 4
- 4
roles/matrix-postgres-backup/defaults/main.yml Просмотреть файл

@@ -1,9 +1,9 @@
matrix_postgres_backup_enabled: false

matrix_postgres_connection_hostname: "matrix-postgres"
matrix_postgres_connection_port: 5432
matrix_postgres_connection_username: "matrix"
matrix_postgres_connection_password: ""
matrix_postgres_backup_connection_hostname: "matrix-postgres"
matrix_postgres_backup_connection_port: 5432
matrix_postgres_backup_connection_username: "matrix"
matrix_postgres_backup_connection_password: ""

matrix_postgres_backup_extra_opts: "-Z9 --schema=public --blobs"
matrix_postgres_backup_schedule: "@daily"


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