add synapse-auto-compressor workaround, fixes #3397 (#3473)

* add synapse-auto-compressor workaround, fixes #3397

* Clarify what the PG-prefixed variables are for

---------

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
Aine
2024-08-15 11:36:48 +03:00
committed by GitHub
parent 332301f2ed
commit 70cbf3d5ae
6 changed files with 76 additions and 2 deletions

View File

@ -14,7 +14,7 @@
- path: "{{ matrix_synapse_auto_compressor_container_src_files_path }}"
when: "{{ matrix_synapse_auto_compressor_container_image_self_build }}"
- name: Ensure synapse-auto-compressor labels installed
- name: Ensure synapse-auto-compressor env file is installed
ansible.builtin.template:
src: "{{ role_path }}/templates/env.j2"
dest: "{{ matrix_synapse_auto_compressor_base_path }}/env"
@ -22,6 +22,14 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure synapse-auto-compressor workaround script is installed
ansible.builtin.template:
src: "{{ role_path }}/templates/matrix-synapse-auto-compressor-fix.sh.j2"
dest: "{{ matrix_synapse_auto_compressor_base_path }}/matrix-synapse-auto-compressor-fix.sh"
mode: 0750
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure synapse-auto-compressor image is pulled
community.docker.docker_image:
name: "{{ matrix_synapse_auto_compressor_container_image }}"