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 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 # Should ansible handle Synapse upgrades ? If false, only initial install will be done
synapse_manage_upgrade: True synapse_manage_upgrade: True

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

Loading…
Cancel
Save