Update to 2020-06-09 19:00

master
Daniel Berteaud 5 years ago
parent 43b78c0d33
commit 63bbdca44c
  1. 2
      roles/matrix_synapse/tasks/conf.yml
  2. 3
      roles/matrix_synapse/tasks/install.yml
  3. 2
      roles/matrix_synapse/tasks/main.yml
  4. 2
      roles/matrix_synapse/templates/pre-backup.sh.j2

@ -10,7 +10,7 @@
tags: matrix
- name: Generate certificates
command: "{{ synapse_root_dir }}/bin/python3 -m synapse.app.homeserver --generate-keys -c {{ synapse_root_dir }}/etc/homeserver.yaml"
command: "{{ synapse_root_dir }}/venv/bin/python3 -m synapse.app.homeserver --generate-keys -c {{ synapse_root_dir }}/etc/homeserver.yaml"
args:
creates: "{{ synapse_root_dir }}/etc/{{ synapse_server_name }}.signing.key"
tags: matrix

@ -19,13 +19,14 @@
- libtool
- autoconf
- automake
- postgresql11
- postgresql12
- postgresql-devel
- libpqxx-devel
- jemalloc
- python3-virtualenv
- python3-pip
- python-psycopg2
- python-setuptools
tags: matrix
- name: Wipe pip cache

@ -1,8 +1,8 @@
---
- include: facts.yml
- include: user.yml
- include: directories.yml
- include: facts.yml
- include: install.yml
- include: conf.yml
- include: iptables.yml

@ -1,6 +1,6 @@
#!/bin/bash -e
PGPASSWORD='{{ synapse_pg_db_pass }}' /usr/pgsql-11/bin/pg_dump \
PGPASSWORD='{{ synapse_pg_db_pass }}' /usr/pgsql-12/bin/pg_dump \
--clean \
--create \
--username={{ synapse_pg_db_user }} \

Loading…
Cancel
Save