Update to 2021-03-22 16:00

master
Daniel Berteaud 4 years ago
parent 620ca9e79d
commit 499389d392
  1. 2
      roles/matrix_synapse/defaults/main.yml
  2. 6
      roles/matrix_synapse/tasks/archive_pre.yml

@ -1,7 +1,7 @@
---
# Synapse version to deploy
synapse_version: 1.29.0
synapse_version: 1.30.0
# Should ansible handle Synapse upgrades ? If false, only initial install will be done
synapse_manage_upgrade: True

@ -18,13 +18,13 @@
tags: matrix
- name: Archive a database dump
command: >
shell: >
/usr/pgsql-13/bin/pg_dump
--clean
--host={{ synapse_pg_db_server }}
--port={{ synapse_pg_db_port }}
--username=sqladmin {{ synapse_pg_db_name }}
--file={{ synapse_root_dir }}/archives/{{ synapse_current_version }}/{{ synapse_pg_db_name }}.sql
--username=sqladmin {{ synapse_pg_db_name }} |
zstd -T0 -10 -c > {{ synapse_root_dir }}/archives/{{ synapse_current_version }}/{{ synapse_pg_db_name }}.sql.zst
environment:
- PGPASSWORD: "{{ pg_admin_pass }}"
tags: matrix

Loading…
Cancel
Save