Explictly set Synapse's worker configuration's owner/permissions

This commit is contained in:
Slavi Pantaleev 2022-07-18 11:23:09 +03:00
parent ddf18eadc7
commit 983bf819ef

View File

@ -13,6 +13,9 @@
ansible.builtin.template: ansible.builtin.template:
src: "{{ role_path }}/templates/synapse/worker.yaml.j2" src: "{{ role_path }}/templates/synapse/worker.yaml.j2"
dest: "{{ matrix_synapse_config_dir_path }}/{{ matrix_synapse_worker_config_file_name }}" dest: "{{ matrix_synapse_config_dir_path }}/{{ matrix_synapse_worker_config_file_name }}"
mode: 0644
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure systemd service exists for {{ matrix_synapse_worker_systemd_service_name }} - name: Ensure systemd service exists for {{ matrix_synapse_worker_systemd_service_name }}
ansible.builtin.template: ansible.builtin.template: