Explorar el Código

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

pull/868/head
foxcris hace 5 años
padre
commit
ecc6bdb3ca
Se han modificado 2 ficheros con 21 adiciones y 4 borrados
  1. +17
    -0
      group_vars/matrix_servers
  2. +4
    -4
      roles/matrix-postgres-backup/defaults/main.yml

+ 17
- 0
group_vars/matrix_servers Ver fichero

@@ -1407,3 +1407,20 @@ matrix_registration_database_password: "{{ matrix_synapse_macaroon_secret_key |
# /matrix-registration # /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 Ver fichero

@@ -1,9 +1,9 @@
matrix_postgres_backup_enabled: false 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_extra_opts: "-Z9 --schema=public --blobs"
matrix_postgres_backup_schedule: "@daily" matrix_postgres_backup_schedule: "@daily"


Cargando…
Cancelar
Guardar