Add support for configuring max_upload_size

This commit is contained in:
Slavi Pantaleev
2017-08-30 12:07:03 +03:00
parent b046052aed
commit 2bb8bb96d4
3 changed files with 10 additions and 4 deletions

View File

@ -101,6 +101,12 @@
- {'variable': 'max-port', 'value': "{{ matrix_coturn_turn_udp_max_port }}"}
- {'variable': 'external-ip', 'value': "{{ matrix_coturn_turn_external_ip_address }}"}
- name: Augment Matrix config (set max upload size)
lineinfile: "dest={{ matrix_synapse_data_path }}/homeserver.yaml"
args:
regexp: "^max_upload_size:"
line: 'max_upload_size: "{{ matrix_max_upload_size_mb }}M"'
- name: Allow access to Matrix ports in firewalld
firewalld:
port: "{{ item }}"