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 tags: matrix
- name: Generate certificates - 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: args:
creates: "{{ synapse_root_dir }}/etc/{{ synapse_server_name }}.signing.key" creates: "{{ synapse_root_dir }}/etc/{{ synapse_server_name }}.signing.key"
tags: matrix tags: matrix

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

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

@ -1,6 +1,6 @@
#!/bin/bash -e #!/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 \ --clean \
--create \ --create \
--username={{ synapse_pg_db_user }} \ --username={{ synapse_pg_db_user }} \

Loading…
Cancel
Save