Add matrix_synapse_uid, matrix_synapse_gid and matrix_synapse_username

This commit is contained in:
Slavi Pantaleev
2023-02-17 17:16:50 +02:00
parent 154d077ec7
commit 632026513e
19 changed files with 51 additions and 39 deletions

View File

@ -7,7 +7,7 @@
ansible.builtin.set_fact:
matrix_synapse_rust_synapse_compress_state_compress_room_command: >-
{{ devture_systemd_docker_base_host_command_docker }} run --rm --name matrix-rust-synapse-compress-state-compress-room
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
--user={{ matrix_synapse_uid }}:{{ matrix_synapse_gid }}
--cap-drop=ALL
--network={{ matrix_docker_network }}
--mount type=bind,src={{ matrix_synapse_rust_synapse_compress_state_base_path }},dst=/work

View File

@ -39,8 +39,8 @@
path: "{{ matrix_synapse_rust_synapse_compress_state_base_path }}"
state: directory
mode: 0750
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
owner: "{{ matrix_synapse_uid }}"
group: "{{ matrix_synapse_gid }}"
- name: Ensure rust-synapse-compress-state image is pulled
community.docker.docker_image: